Optimization Features

WP Rocket features info and troubleshooting.

Some images are not lazyloaded

If you've already activated the LazyLoad and LazyLoad for CSS background images features, you've verified the page is cached, but some images are still not lazyloaded and/or PageSpeed lists some images under the Defer offscreen images audit, then it's possible…

Specify a custom cache folder and config path

Specify custom cache colder By default, WP Rocket creates folders for the cache and other optimized files in: /wp-content/cache/ It's possible to specify a custom location by defining the following constants in wp-config.php: WP_ROCKET_CACHE_ROOT_PATH to specify the absolute cache folder…

Strange URLs added to Preload

WP Rocket's Preload will add any visited, cacheable page to the cache table for preloading, in the database.  If your server returns a 200 status for a page, it can be cached, even if you don't intend it, and therefore…

Sucuri Add-On

If you use the Sucuri Website Firewall with their caching enabled, you should activate the WP Rocket Sucuri add-on. This will keep the caches in sync so that your site will always be updated with your latest content. After activating…

User Cache

When User Cache is activated, WP Rocket creates a dedicated set of cache files for each logged-in WordPress user. You can enable User Cache from the Add-ons tab, by switching the "Add-on status" option to "On", like this: Feature overview…