Feature request: minify inline js without aggregating
-
Hi,
Would it be possible to have an option to minify inline js but keep it in the html head?
My scripts don’t change, but I use inline wp_localize_script to have page-specific variables available to these scripts. So I dont’ want to aggregate these but it would be nice to have them compressed like the html.Also,
On an unrelated note: Could you explain how the plugin works technically? Does it run and compress the html output on every page-load/request? Or does it keep a static cache copy of the html somewhere and simply bypass the page generation process? If it’s the former (compress html at run-time) what is the performance penalty? processing time vs. smaller payload. Benchmarks etc. Any information would be useful.
- The topic ‘Feature request: minify inline js without aggregating’ is closed to new replies.