Prevent Static File Creation for Dynamic CSS/JS
In WP Rocket 2.9 we introduced a new, automatically applied performance enhancement: CSS and JS files loaded dynamically via PHP are automatically saved to static files to improve loading time.
If this behaviour causes any problems on your site, you can exclude files from this process by using the helper plugin below.
📝 Manual code edit required before use!
You must edit the line beginning with
$excluded_files to reflect the path of the file you want to exclude.