Exclude files from Optimize CSS Delivery

In rare cases the option Optimize CSS delivery (Files Optimization → CSS Files) may conflict with a specific file.

If this option causes any problems, you may need to exclude a file from the process. You can do that by downloading, installing, and editing the following small helper plugin.

📝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.

📥  Download (.zip): WP Rocket | Exclude Files from Async CSS
Developers: You can find the code for this plugin on GitHub.

Tips to make this work

Remove query string

Remove any query string following the .css extension. For example, to exclude:

https://example.com/wp-content/themes/neutro/style.css?ver=1.2.5

use:

/wp-content/themes/neutro/style.css