Optimization Features

WP Rocket features info and troubleshooting.

Nonces and Cache Lifespan

Nonces are security tokens in WordPress. They get printed into the HTML source code.  Nonces can only be used once (hence “n once”), and they are only valid for a certain length of time: 12 hours by default, but developers…

Optimize critical images

The Optimize critical images feature automatically optimizes the above the fold images of the page, so that they can be rendered faster. This optimization is automatically enabled upon WP Rocket activation, therefore, it doesn't have any option or button in…

Optimize Google Fonts

The Optimize Google Fonts feature detects the Google Fonts found on your website, optimizes the requests and makes the text appear faster. In this article, you'll find more about this feature, how to deactivate it, how to customize it and…

Page caching

When a visitor comes to your WordPress site, their browser talks to your web server which loads up WordPress – this involves PHP processing, making requests to your database, sending files back to the browser to finally be assembled into…

Preconnect to external domains

The Preconnect to external domains feature improves the loading times by prefetching the external domains used on a page. WP Rocket automatically enables this optimization upon activation, so you don’t need to select any options to use it, nor specify…

Prefetch DNS requests

Heads up! Prefetch DNS requests is an obsolete feature. Instead, the Preconnect to external domains feature is available. If you have third-party content on your website (e.g fonts loaded from Google, or a video from YouTube), you may want to add its…

Preload cache

The Preload Cache feature emulates a visit to your site's pages to generate cache files. Since the feature is enabled by default on plugin installation, there's no need to wait until a real visitor accesses the pages before starting to…

Preload custom cookie

In some cases, you might want to preload the cache for specific values of a dynamic cookie instead of the regular cache version. Note that preload will skip preload all variants if cache is already generated with a user visit.…

Preload fonts

The Preload fonts feature has been revamped to automatically detect and preload the fonts used in the above the fold texts of a page. To use the Preload fonts on your site, please activate it from the Media tab, in…