Optimization Features
WP Rocket features info and troubleshooting.
Preload is slow or not working
In this article, you will learn how to identify a problem with the Preload cache feature, which basic requirements should be met, and the most common problems it may have, as well as the respective solutions.How to check if the…
Preload links
The Preload links feature will improve the perceived loading time of pages for a user navigating your site. If a user hovers over, or touches, a link for 100ms or more, the HTML of that page will be fetched in…
Prevent Critical CSS generation for custom post types and taxonomies
When using Load CSS Asynchronously, you may see errors when trying to generate CSS for custom post types (CPT) and taxonomies that are not publicly accessible. In this case you can exclude them from the CSS generation. š Manual code…
Prevent static file creation for dynamic CSS/JavaScript
WP Rocket has an automatically applied performance enhancement: CSS and JavaScript files loaded dynamically via PHP are automatically saved to static files to improve loading time. If this behavior causes any problems on your site, you can exclude files from this…
Priority Elements
In WP Rocket, some key assets of a page are called the Priority Elements. These are the Priority Elements processed within the Automatic features: The critical images above the fold - Optimized by the Optimize critical images feature. The HTML…
Purge Varnish when using Cloudflare or other proxy
Enabling the one-click Varnish add-on will auto-purge Varnish when the WP Rocket cache is cleared. When you also use a proxy such as Cloudflare this can prevent the Varnish cache being purged. The Varnish cache will be correctly purged even when…
Removal of the cache tab
The Cache tab has been removed to reduce the number of steps needed to configure WP Rocket. The features in the Cache tab were not removed from WP Rocket. Some options were relocated, and other options were automatically enabled as…
Remove custom post URLs from purge
This helper plugin will remove a custom set of URLs from WP Rocketās automatic cache purging when a post is created / updated / deleted. It can help in cases where you are seeing these URLs show up as 404 errors…
Remove Unused CSS
The Remove Unused CSS feature removes all CSS and stylesheets that are not used while keeping only the used CSS for each page. This feature can be enabled under the File Optimization tab, inside the Optimize CSS delivery feature, like this:…