Optimization Features
WP Rocket features info and troubleshooting.
Exclude all CSS files in a folder / directory from Load CSS Asynchronously
In rare cases the option Load CSS Asynchronously may conflict with a set of files, specially when they are being dynamically generated by one of your plugins or your theme. If this option causes any problems, you may need to…
Exclude files from Load CSS Asynchronously
In some cases the option Load CSS Asynchronously 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…
Exclude files from Load JavaScript Deferred
In some cases, the option Load JavaScript deferred may conflict with a specific file. If this option causes any problems, you may need to exclude a file from the process. Exclude files and domains You can use the field in the…
Exclude pages from the cache and optimizations
Note that WP Rocket automatically excludes cart and checkout pages for certain ecommerce plugins. Read more about that here. How to exclude individual pages Directly in page settings Heads up! By excluding a page from cache, you are also excluding…
Exclude scripts from Delay JavaScript Execution only at some URLs
This helper will allow you to exclude JavaScript files from Delay JavaScript Execution option only on specific pages instead of excluding them globally. This can be useful in some cases where you can delay JavaScript files globally, but you need…
Exclude scripts from Load JavaScript Deferred for all pages or specific URLs
This helper will by default allow you to apply JavaScript files exclusions for Load JavaScript deferred to all pages if no specific page(s) is specified, or apply exclusions only to specified pages. This can be useful in some cases where…
Exclude uploaded Elementor CSS from Load CSS Asynchronously
In some cases the option Load CSS Asynchronously may conflict with files created dynamically by Elementor in the uploads/elementor/css folder. If that problem arises specific files can be excluded with the WP Rocket | Exclude Files from Async CSS helper…
Exclude URLs from being preloaded
If required, URLs and groups of URLs can be excluded from being processed by the Preload feature. You can do this by using the exclusion box or using a filter.Exclude URLs with the exclusions box You can exclude URLs from…
Excluding dynamic filenames
This guide will show you how to exclude files from WP Rocket's optimizations when their filenames are dynamically changing.In this article Dynamically changing file names Excluding dynamically changing file names from MinificationDynamically changing file names Most of the time, when…