Skip to main content
3 events
when toggle format what by license comment
Jul 10, 2020 at 0:53 comment added RachC You could overwrite wp_enqueue_script to modify the minify Code. But it would more slowly that It has to be load the whole script then could compress your code.
Jul 9, 2020 at 23:34 comment added Tom J Nowell I would advise against this, loading in the files in PHP and outputting them in PHP on each page load will take longer and wipe out any savings you make. It will not speed up your sites frontend transfer. Doing it reliably also means using an output buffer to store the entiire page, crippling time to first byte and time to first render, and eliminating progressive rendering in the browser, making your site appear slower, and giving potential SEO penalties.
Jul 9, 2020 at 23:04 history asked Kitiara CC BY-SA 4.0