Optimization Features

WP Rocket features info and troubleshooting.

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…

CDN not working, files not sent to CDN

If, after setting a CNAME in WP Rocket > Content Delivery > Other CDN, you see that your files are not being served from your CDN, please check the following. URL settings In your WordPress dashboard, go to Settings → General…

Choose YouTube preview image resolution

If you are using the LazyLoad sub-option Replace YouTube iframe with preview image, you can specify the resolution of the preview thumbnail using the helper plugin available in this article. Heads up! You need to modify the plugin’s PHP file first,…

Chrome native lazyload

Chrome 76 introduced native lazy-load. This means that lazy-loading can be done by the browser itself instead of a plugin.  At the moment, Chrome's implementation of native lazy-load is very conservative. The purpose of lazy-load is to only load images…