Wordpress LScache Plugin: How to exclude wp_localize_script from delayed or optimize
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello developer, I see wp_localize_script( fixedtoc-js, fixedtocOption, $options ) in my plugin (Fixed TOC). It output HTML like var fixedtocOption = ... How I can exclude it from JS optimize and delayed? I tried add fixedtoc-js-js-extra, fixedtoc-js but not work. I can edit plugin php file but I dont know how to make it output var fixedtocOption = ... Hope you can help, thank you! please just add a part of the output string , for example fixedtocOption into both JS exclude and defer JS exclude fields , then purge all
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference