Getting Started

WP Rocket integrates more than 80% of web performance good practices automatically. Even without any of its options activated, the loading time of your website will decrease significantly.

You’ve activated WP Rocket—what now?

The first thing you’ll want to do once you’ve activated WP Rocket is:

📈Run an ON/OFF test with WP Rocket’s default settings, and see how much faster your site has become already!

You’ll be able to see the improvement in loading time WP Rocket has achieved just by running in its default configuration. If you have advanced knowledge about how the rendering of a website works in the browser, you can start to further optimize your setup based on recommendations from performance testing tools like  GTmetrixPingdom Tools, or Google Developers PageSpeed Insights—although we generally recommend to take those with a grain of salt.

 Learn why a 100% PageSpeed Insights score may not be a realistic expectation

Did you know you can easily A/B-test WP Rocket’s on/off state by appending a query parameter to a URL from your site?

A regular URL will give you a cached page:

https://example.com/your-page-or-blog-post/

Appending ?nocache to the URL will give you the same page without WP Rocket—no caching, file optimization, Lazyload, or the like, just plain WordPress:

https://example.com/your-page-or-blog-post/?nocache

Comparing test results from both of these types of URLs, you’ll get a great first impression of how much better your loading times have become, and what you should focus on for further optimization.

Are there any recommended settings for WP Rocket?

There isn’t one recommended configuration of WP Rocket that can be used on every site. Themes, plugins, and hosting environments can vary greatly. Therefore, some settings will work differently on different websites.

There are even settings—like File optimization—that will work perfectly fine on one site, but won’t work at all on another. So sometimes leaving a setting entirely disabled can be your best bet! On the other hand, a number of key features—like page caching, browser caching, and GZIP compression—are completely automated; they don’t even appear on your settings page, but quietly work their magic under the hood and make your site faster without you having to move a finger.

Automated features

The following features are fully automated, they are not represented on WP Rocket’s settings page:

  • Page caching (static HTML file cache)
  • Browser caching (on Apache, if available on the server)
  • GZIP compression (on Apache, if available on the server)
  • Cross-Origin support for web fonts (on Apache)
  • Detection and support of various third-party plugins, themes, and hosting environments
  • Combination of inline and 3rd party scripts
  • WooCommerce Refresh Cart Fragments Cache

Default settings

The following settings are activated by default when you activate WP Rocket for the first time:

  • Mobile cache (based on WordPress’ mobile phone detection)
  • Cache lifespan (10 hours)
  • Combine Google Fonts files
  • Disable (WordPress) Emoji
  • Disable WordPress Embeds

⭐️ Note: Depending on your individual WordPress setup and hosting, some other settings may be activated, or disabled by default.

Settings panes

Looking for a specific setting? Here’s a quick overview of where’s what in WP Rocket:

Dashboard

  • Clear cache and Preload cache buttons
  • FAQ and Ask support button
  • License status
  • Analytics and beta testing options

Cache settings

  • Mobile cache
  • User cache
  • SSL-Cache (only shown when SSL not detected automatically)
  • Cache lifespan

File optimization

🎯 Settings in this pane can improve performance grades when handled with care.
🔥 They can also break a website temporarily!
👉 If you notice any issues after activating one of these options, deactivate it again first, then troubleshoot.

  • Minify HTML, CSS, JavaScript
  • Combine (concatenate) CSS and JavaScript into less files (use with HTTP/1 only!)
  • Remove query strings (targets only ?ver= strings used for version numbers in WordPress)

Options to eliminate render-blocking JavaScript and CSS:

  • Optimize CSS delivery
  • Load JavaScript deferred

 Learn how to utilize WP Rocket’s options to eliminate render-blocking JavaScript and CSS above the fold

Media settings

  • LazyLoad
  • Disable (WordPress) Emoji
  • Disable WordPress Embeds

Preload settings

  • Cache preloading (sitemap, bot)
  • DNS prefetching

Advanced rules

  • Cache exclusions based on URL, cookies, user agent strings
  • Must-purge URLs
  • Cache for query strings in URLs

Database optimization

  • Scheduled database cleanup

CDN settings

  • Integration of your preferred Content Delivery Network
  • File exclusions for CDN

 Learn how to set up your CDN in WP Rocket

Add-ons

  • Google Tracking
  • Varnish
  • Cloudflare

 Learn how to set up Cloudflare in WP Rocket

Tools

  • Export/import WP Rocket settings
  • Rollback to previous version