EL
Work with us
How to set up WP Rocket: the settings we use on client sites
Websites

How to set up WP Rocket: the settings we use on client sites

7 min read

WP Rocket setup takes about 15 minutes if you follow a clear order. This guide walks through each screen of the plugin, in the order we use on client sites, with the setting we choose and what to check after each change. It is based on WP Rocket version 3.24, released in late 2026.

Some links in this article are affiliate links. If you buy through them we may earn a commission, at no extra cost to you. We only recommend tools we would use on client sites.

Key takeaways
  • Measure before you change anything, and change one setting at a time.
  • Caching and the basic optimisations switch on automatically when you activate WP Rocket.
  • Delay JavaScript and Remove unused CSS give the biggest gains and need the most testing.
  • Export your settings before big changes, and use Rollback if an update causes a problem.

Before you start

  1. Take a full backup of files and database.
  2. Measure your starting point: run PageSpeed Insights on mobile for the home page and one key page, such as a service or product page, and note LCP, TBT and CLS.
  3. Remove any other caching plugin, such as W3 Total Cache, WP Super Cache or LiteSpeed Cache, and clear its files. Two caching plugins at once is the most common cause of broken sites.
  4. Check your host: if it already provides server caching, WP Rocket can still handle the file optimisations, but ask your host if they recommend any setting.

Then install WP Rocket from Plugins, Add New, Upload Plugin, activate it and enter your licence key.

Get WP Rocket

Step 1: the dashboard and Rocket Insights

When you activate WP Rocket, page caching, browser caching, GZIP compression, minification and critical image optimisation start working straight away. The dashboard confirms this and shows your Rocket Insights score.

WP Rocket dashboard after activation, with the Rocket Insights score and recommendations
The dashboard right after activation, with the Rocket Insights score and the recommended next steps. Image: WP Rocket.

Click Add Page and add up to 10 important pages: the home page, your main service or category pages, a blog article and, for shops, a product page. Rocket Insights tests them in the background and lists recommendations, each with the metric it affects. Treat the list as a to-do list, but still apply one item at a time.

The left menu groups every setting: Dashboard, Rocket Insights, Content Delivery, Cache, Page Optimization, Backend, Tools, Help and Account. We go through them in the order that gives the safest results.

Step 2: Cache and Preload

Under Cache, mobile caching is on by default. Leave it on. Keep a separate cache for mobile only if your theme shows different content on mobile, which is rare with modern responsive themes.

Under Cache, Preload, switch on:

  • Activate Preloading: WP Rocket reads your sitemap and builds the cache for every page, so the first visitor also gets the fast version.
  • Enable link preloading: when a visitor hovers over a link, the next page starts loading, so it feels instant when they click.

Use Exclude URLs for pages that should never be preloaded, such as author archives or private areas. The pattern /author/(.*) excludes every author page.

WP Rocket Preload settings with Activate Preloading and Enable link preloading switched on
Preload settings: cache preloading from your sitemap and link preloading on hover. Image: WP Rocket.

Under Cache Rules, leave the defaults unless a page must never be cached, such as a page showing live stock or personal data. WooCommerce cart, checkout and account pages are excluded automatically.

Step 3: Page Optimization, Image and Media

This screen controls lazy loading. Switch on:

  • Enable for images and Enable for CSS background images.
  • Enable for iframes and videos, plus Replace YouTube iframe with preview image, which loads a light thumbnail until the visitor presses play.
  • Add missing image dimensions, which prevents the layout from jumping while images load and helps Cumulative Layout Shift.

You do not need to exclude your top image: Optimize Critical Images already keeps it out of lazy loading. If you use Imagify, this screen shows its status and lets you convert images to WebP or AVIF.

Check: scroll the home page and a long page on mobile and make sure every image appears.

Step 4: Page Optimization, JavaScript and CSS

This is where the biggest gains are, and where most problems start, so test after each option.

WP Rocket JavaScript and CSS settings with minify, defer and delay options
JavaScript and CSS settings: minify, combine, defer and delay. Image: WP Rocket.

CSS

  • Minify CSS files: on.
  • Optimize CSS delivery, Remove unused CSS: on. WP Rocket processes each page on its servers and serves only the styles it uses. Allow some time for the first pages to be processed. If a menu, slider or pop-up loses its styling, add its CSS file or class to the safelist.

JavaScript

  • Minify JavaScript files: on.
  • Combine JavaScript files: off on modern hosting with HTTP/2 or HTTP/3, as WP Rocket notes on the screen.
  • Load JavaScript deferred: on. If something breaks, add that script to the excluded list.
  • Delay JavaScript execution: on. Then open One-click exclusions and tick your cookie banner, sliders, galleries and any plugin that must work before the visitor interacts with the page.

Check after each option: open the site in a private window, logged out, on desktop and mobile. Test the menu, any slider, forms, the cookie banner, search, and for shops the add to cart and checkout. Then clear the cache and test PageSpeed again.

Step 5: fonts and Content Delivery

Switch on Self-host Google Fonts so fonts load from your own server instead of Google's, which removes extra connections and helps with European privacy rules. Under Content Delivery, add your CDN's address if you use one. If you use Cloudflare, use the Cloudflare add-on in Tools, Add-ons, so WP Rocket clears the Cloudflare cache together with its own. Do not minify or delay the same files in Cloudflare as well.

Step 6: Backend, database and Heartbeat

Under Backend, schedule a weekly database clean-up of post revisions, auto-drafts, spam and expired temporary data. Take a backup before the first clean-up. Under Heartbeat, reduce the activity in the admin area and disable it on the front end, which lowers server load on busy sites.

Step 7: Tools, rollback and MCP

WP Rocket Tools screen with MCP server, export and import settings, rollback and update lists
The Tools screen: connect an AI tool through MCP, export or import settings, and roll back to the previous version. Image: WP Rocket.
  • Export settings: download a backup of your configuration once the site is tested. You can import it on another site or restore it later.
  • Rollback: if a new WP Rocket version causes a problem, reinstall the previous major version with one click, then contact WP Rocket support.
  • MCP Server: connects an AI assistant such as Claude to WP Rocket, so it can read your Rocket Insights data, suggest changes and clear the cache, with your approval. Useful if you manage several sites.
  • Update Inclusion and Exclusion Lists: refreshes the compatibility lists, which WP Rocket otherwise updates weekly.

Step 8: measure again

  1. Clear the cache and let preloading finish.
  2. Run PageSpeed Insights on mobile for the same pages you measured at the start, three times each.
  3. Check Rocket Insights for the tracked pages and the next recommendation.
  4. Over the next 28 days, watch the Core Web Vitals report in Google Search Console, which shows real visitors rather than tests.

When something breaks

  • Layout or styling missing: turn off Remove unused CSS, confirm it fixes the problem, then turn it back on and safelist the affected file.
  • Menu, slider or form not working: add the script to the Delay JavaScript exclusions, or use a one-click exclusion.
  • Changes not showing: clear the WP Rocket cache, then your CDN or Cloudflare cache, then your browser cache.
  • Still stuck: deactivate WP Rocket to confirm it is the cause, then contact its support with the page address.

Questions people ask

What are the best WP Rocket settings?

For most sites: preloading and link preloading on, lazy loading on, minification on, Remove unused CSS on, defer on, delay JavaScript on with one-click exclusions, and Google Fonts self-hosted. Combine JavaScript stays off on modern hosting.

Should I use WP Rocket with my host's caching?

Usually yes, for the file and image optimisations. On some managed hosts WP Rocket leaves page caching to the server and keeps the rest. Ask your host if unsure.

Can I use WP Rocket with Perfmatters?

Yes, and many sites do. Use Perfmatters for its script manager and the WordPress features it disables, and do not switch on the same optimisation in both. Our comparison of WP Rocket, Perfmatters and FlyingPress explains how to split the work.

Next steps

Want the full picture first? Read our WP Rocket review. Prefer to hand it over? Speed tuning, testing and plugin updates are included in our website management plans.

Get WP Rocket

Need help with this? See our website management service.

Request a quote

More articles

Get the Viral monthly

One email a month with practical tips on websites, SEO and marketing. Read by business owners across Cyprus.

One email a month. Unsubscribe anytime. See our privacy policy.