Optimization Features
35 results
WP Rocket features info and troubleshooting.
Cache folder is getting too big
In some cases, WP Rocket optimizations can exceed the disk or inode limits set by your hosting provider. This article lists which folders can be affected, the features that cause the problem in each folder, and how to solve the issue in…
Cache is incomplete, cleared too frequently or randomly
Sometimes, you might notice the cache is being cleared randomly, without a clear explanation. Some symptoms of this could be: The cache folder is incomplete. There is a random number of cached pages. You experience a sudden slowness of some…
Cache Lifespan
The Cache Lifespan feature in the Advanced Rules tab will set the maximum age a cached page can be.How does it work? WP Rocket will check the cache files' creation every hour. If at any of those hourly checks, WP Rocket detects…
Caching query strings
WP Rocket does not cache pages with query strings by default, although there are some very specific exceptions (see below). A query string is where you have a URL that contains a question mark followed by a parameter and a…
Caching the search page results
By default WP Rocket does not cache results of WordPress’ search functionality. In order to enable caching for search results, install the following helper plugin: 📥 Download (.zip): WP Rocket | Cache Search Results Developers: You can find the code…
Clear cache notice when enabling/disabling plugins
If you've enabled or disabled a plugin you should see an admin notice coming from WP Rocket as shown below: WP Rocket: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of…
Clear WP Rocket cache
WP Rocket automatically clears the cache in most common scenarios. However, there are a few ways to do to clear the cache if you need to do it manually. Clear cache on whole site Go to Settings → WP Rocket → Dashboard tab and press the Clear…
Create different cache files with dynamic and mandatory cookies
Some plugins may use cookies to display dynamic page content based on conditions related to the current web page visitor. For example, a third-party plugin may set a cookie related to your country in order to show content in your…
Customize query string caching
Query strings are not cached by default but we do make some automatic exceptions which are detailed here: https://docs.wp-rocket.me/article/971-caching-query-strings It's possible to further customize how query strings on your site are handled by using the following helper plugin. 📥 Download…