Websites are built differently and demand different speed and performance optimization tactics.
The best WP Rocket settings for your website depend on your server architecture, hosting environment, resources, other plugins, themes, etc.
Nonetheless, the WP Rocket configuration guide discussed on this page should work for most websites.
This WP Rocket setup should help you improve website speed and performance and fix several Google Core web vitals issues for personal blogs, business websites, eCommerce stores, media-heavy sites, etc.
So, if you’re here to learn how to speed up WordPress with WP Rocket, you’re in for a ride.
WP Rocket Performance Test
Let me make a bold statement before we investigate the best setting for WP Rocket.
The WP Rocket best setting described in this post works for this site. It makes it easier to achieve excellent site speed and Core Web Vitals scores on desktop and mobile PageSpeed Insights reports.
Also, this post is not about regurgitating what’s on the developer’s website.
Far from echoing the plugin setting documentation, I use WP Rocket on this website and have played around with different settings. After many trials and testing, I finally got the best WP Rocket optimization setting for my blog, which should work for you, too.
Here’s how most pages on my website perform in tools like PSI, GTmetrix, and other website performance testing platforms. You can see the speed index in the PSI test report.

Feel free to pick a random post or page URL from this site and test it yourself.
You’ll need more than WP Rocket to achieve a fast WordPress website and performance scores.
I took these steps to achieve excellent page speed, good Core web vitals scores, and the optimal website user experience.
- Web hosting – your web host lays the foundation for a fast website. If your web host sucks, no amount of site speed optimization will bring significant improvement. I migrated from Namecheap to Cloudways, a step from Shared hosting to a more resourceful and optimized server.
- After migrating to Cloudways, I also minimized the use of plugins to the barest minimum. Too many plugins can also introduce bloats or lead to compatibility issues, which can negatively impact website performance.
- Next, I switched from Astra Pro to Kadence, a more optimized and lightweight WordPress theme. I strongly recommend you go with KadenceWP. Read my KadenceWP Versus Astra Pro to learn why it is a better theme. Updated 20/01/25: I switched to Astra Pro for design, flexibility, and customization reasons.
- Finally, I installed WP Rocket to improve website speed with the Astra theme and complement other optimization efforts.
Explore the plugin dashboard and the recommended WP Rocket setting for your blog type.
Dashboard
Here, you can access general information about your WP Rocket account and subscription to RockteCDN.
There is a quick fix button to remove the Used CSS cache and reload all cache files. This is helpful if you make changes or update your website, but the changes are not reflected on the front end.
Also, the WP Rocket dashboard contains shortcuts to video tutorials or links to articles on the WP Rocket website. Use the corresponding links to open articles on specific aspects or features of the plugin’s settings.

Aside from this information, there’s nothing much to do here. I hardly visited the dashboard, and since WP Rocket automatically detects your license, you don’t even need to review license validation.
Cache
Caching is the primary function of WP Rocket, which is built into the plugin and enabled by default.
However, you may need to turn it off for other options, especially if your web host has its built-in cache mechanism or you find a better plugin.
Note:
As of WP Rocket version 3.16, the Cache tab has been removed. Though its core functionality is still in the plugin, you can access some caching settings via the Advanced and Add-on tabs. The Cache Lifespan is now located in the Advanced Tab, while the Cache User option can be found under the Add-on tab.
For example, Cloudways offers its cache plugin, Breeze, which some users prefer. But you don’t have to use two cache plugins, which can introduce performance issues and break your website files.
The WP Rocket plugin is sufficient for most WordPress blogs – small, medium, and large businesses. If the WP Rocket cache plugin works on your blog, you don’t need another option.
Still, if you must deactivate the WP Rocket cache, you need the helper plugin. More information can be found on the website.
If your web server uses the Nginx server and Varnish cache, WP Rocket has specific instructions for the configuration steps.
Though the plugin works out of the box on the Nginx server and automatically detects the Varnish cache, you will find more information about the rules applied on the page and how they work.
Here are the WP Rocket cache settings you need to review:

- Mobile Cache – (Leave On) The Mobile cache should be enabled unless your WordPress theme is not mobile-optimized. Why should you have a website that is not optimized for mobile visitors? If you notice that the mobile view is being served to desktop users, check the documentation for step-by-step instructions. Alternatively, enable the “separate cache file for mobile devices” option in the plugin setting.
- User Cache – (Leave Off) This option should be turned off for most blogs. However, enabling this option is beneficial if you have content specific for logged-in users, such as forums, membership sites, etc. If you have custom logged/logout pages, you must exclude them from the cache to reduce high CPU usage. You can do this via the Advanced Rules tab. More on that later.
- Cache LifeSpan – The default time is 24 hours. This means that the WP Rocket cache automatically rebuilds after this time. You can reduce the time if you publish multiple times daily; otherwise, leave it as it is. If the caches rebuild frequently, it may drastically increase CPU usage. There is a helper plugin to turn off automatic cache clearing if you want to take control.
File Optimization
WP Rocket’s File Optimization features are designed to enhance your website’s performance by streamlining the delivery of CSS and JavaScript files.
These features include minifying CSS and JS files to remove unnecessary characters, combining multiple files to reduce HTTP requests, and deferring JavaScript execution to improve load times.
WP Rocket offers options to optimize CSS delivery, such as generating critical CSS for faster rendering and delaying the loading of unused JavaScript.
These powerful tools work seamlessly to ensure a faster, more efficient website without compromising functionality or design.
WP Rocket recommends enabling minify CSS and JavaScript files for best performance. You should also turn on Optimize CSS delivery to eliminate render-blocking resources on the website.
Follow these settings for the best WP Rocket file optimization unless you have a good reason to use separate plugins.

- Minify CSS Files – (On) This option should be turned on to remove white space from website codes to reduce file sizes. If you use a code or file optimization plugin like Autoptimize, you should turn off this function in WP Rocket and leave it on in Autoptimize. There may be compatibility issues if you use two plugins with the same function. If you need to remove some ULRs of class files from modification, specify them in the text field, one per line.
- Optimize CSS Delivery – (On) – You must enable the optimize CSS delivery option to improve the loading of CSS files and eliminate render-blocking resources on your site. After activation, you can choose Removed Unused CSS or Load CSS Asynchronous. Choose Removed Unused CSS for better performance.
- Minify JavaScript Files – (On) – This option also removes white space and comments from JavaScript files to reduce file size and improve loading time. Like the Minify CSS files option, use only one plugin for JS file minification.
- Combine JS files – (Leave Off) WP Rocket automatically turned this setting off, and it is advisable to leave it so. The function combines your site’s JavaScript files, third-party, and inline internal resources to reduce HTTP requests. However, if your website uses HTTP/2 or HTTP/3 servers, this setting should be off to avoid unintended connection issues.
- Load JavaScript Deferred – (On) Enable this setting to eliminate render-blocking resources on the site. It allows the loading of JavaScript resources after the page is parsed, improving load time and user experience.
- Delay JavaScript Execution – (On) This function will delay the execution of third-party JS files like Google Analytics until user interaction, like scrolling or mouse clicks, improves website performance and user experience.
Note:
As of version 3.15, WP Rocket no longer has the option to combine CSS files when the removed Unused CSS file is enabled. According to this documentation, WP Rocket reveals that the resulting used CSS block replaces the combined CSS files, including any existing CSS files.
However, you can exclude files or resources in each WP Rocket file optimization setting. For example, you can exclude elements/scripts from the Delay JavaScript execution list if you need to load the resources as soon as possible in the user viewport.
In the minify CSS files setting options, you can list URLs to exclude from minification. Likewise, specify the excluded CSS files (CSS Safelist) from the removed Unused CSS list in the Optimize CSS delivery option.
You must exclude JavaScript files or resources requiring instance user interaction on the front end. This is done via the load JavaScript deferred and minify list. Internal and third-party resources, such as lead forms, can also be excluded here. Wildcard is accepted to exclude all JS files in a URL path.
Another thing is that if removed unused CSS breaks your site or causes design issues, click “Load CSS Asynchronously.” This option won’t give you the best website performance, and you should test your website with a critical CSS generator tool to ensure everything works as expected.
Finally, the Delay JavaScript execution option eliminates themes, plugins, Analytics, and ad codes from the delay list. If you experience performance issues after activating this option, you can exclude the file or resources from being delayed. This will allow immediate user interaction with the resources.
Media
WP Rocket’s Media Optimization features focus on enhancing your website’s performance by improving how images, videos, and other media are loaded.
The plugin includes replacing YouTube iframe with a preview image, adding missing image dimensions, and Lazy Load, which defers media loading and background CSS images until they are visible on the user’s screen, reducing initial page load times.
It also supports integration with WebP image formats for smaller, faster-loading files and optimizes video embeds by replacing them with static thumbnails.
These features ensure your website delivers a smooth, user-friendly experience without sacrificing speed or performance.
Starting from WP Rocket 3.15, Lazy loading of CSS background images is part of the plugin features. This feature has been a long wait for the plugin.
Note: If you need to exclude specific images from Lazy Loads, such as above-the-fold images, WP Rocket has a simple tutorial on using the code Snippet plugin. This will preload the Largest Contentful Paint images on the page as early as possible.
Note:
Updated: 26/05/2024 – WP Rocket 3.16 now has a built-in feature that automatically optimizes the LCP critical images found above the fold. This feature is automatic; there is nothing to configure.

- Enable for Images – (On) – This option should be turned on if you want WP Rocket to lazy-load your website images to improve perceived and actual loading time. Images will only appear in the user’s viewport when they scroll to the points. This also reduces the number of HTTP requests during the page’s initial loading.
- Enable for CSS Background Images – (On) You should enable this feature to automatically lazy-load background CSS images, except for those above the fold. It improves loading time and performance. However, if you experience accessibility issues in PSI after enabling it, contact WP Rocket support for assistance.
- Enable for iFrame and ViVideo – (On) This also provides Lazy load features for iframe and video players. Enabling the page to load more quickly. You should turn it on to allow WP Rocket to act on your website’s videos and iframes.
- Replace YouTube iframe with preview images – (On) This will replace the YouTube video player with an image preview thumbnail. So, the video only plays or loads when the user clicks the play button. It improves the page’s loading time and reduces HTTP requests from external URLs. To improve performance and page speed, you should turn this feature on.
- Add missing Image Dimension – (On) WP Rocket will add the missing width and height attributes to the image HTML. It solves layout shift and image elements missing explicit width and height reports in the Google Pagespeed Insights tool. Now, if you view the HTML of your site images, you should see the specific missing image dimension automatically added.
Note: Enter the images’ CSS class, file name, CSS file name, or domain in the space if you want to exclude them/it from Lazy loading by WP Rocket. The option is labeled Exclude images or iframe section.
Also, WP Rocket does not optimize images by resizing or compression. It only lazy loads, adds a preview image for the YouTube iframe, adds missing image dimensions, and optimizes CSS background images.
For a more complete image optimization solution, consider a standalone option like Imagify or check out my Nitropack vs WP Rocket comparison.
Preload
WP Rocket’s Preload features ensure your website is ready to deliver blazing-fast load times by generating cached versions of your pages before visitors even request them.
With Sitemap Preloading, WP Rocket uses your XML sitemap to build cache files for all important pages, ensuring they’re always optimized for speed.
The plugin also includes Link Preloading, which predicts and preloads the next pages users are likely to visit, enhancing navigation speed.
These features work proactively to improve your website’s performance, reduce CPU usage significantly, and deliver an excellent user experience.
Change the crawl interval, preload web font, and turn off prefetch domains.

- Activate Preloading – (Leave On) This setting is turned on by default, and it is recommended that you leave it as it is. WP Rocket will not wait for a user to visit a page before generating the cached page version. It will preload it, making it faster whenever a user visits. If you need to change the crawl interval or want to set up cron jobs to automate crawl limit and time, use the helper plugin described on this page.
- Preload Links – (Leave On) This feature improves users’ perceived page loading time. It should be enabled. Preload link fetches a page’s HTML in the background when a user hovers or touches a link on the page for 100ms or more. However, it won’t improve the PSI score but the perceived user experience. You should leave it on.
- Prefetch DNS Request – You can request the loading of external files/URLs more quickly by entering the domain in the Prefetch DNS request box. You may not need to do anything here. Since most third-party hosted domains on your site are already delayed, using Delay JS execution and WP Rocket pre-connect CDN CNAMES and font gstatic.com automatically, you don’t need to use the prefetch DNS request feature.
- Preload Font – Enter the URL of the Google font file you want to preload as the page renders. The font must be hosted on your domain or specified in the CDN tab for this feature to work. You don’t need to do anything here, as WP Rocket automatically preloads fonts on your site. But if you have a third-party font (not hosted on your server) that you want to load quickly, some plugins or themes host the Google font locally.
Note:
You will discover fonts to preload in the opportunity section of PageSpeed Insights. Find the font URL that may benefit from preloading, copy and paste it in the WP Rocket text area, and click save.
Warning! Do not preload too many fonts, especially if they are not needed on the page immediately; you may unintentionally cause website performance issues.
Also, you can specify URLs (one per line) that are not to be preloaded into the cache. The option is right under the “Activate Preloading” checkbox.
Another important thing to note is that WP Rocket’s optimizations do not host Google Fonts locally. Still, it preloads fonts and optimizes them using various options, like combining multiple font requests into a single file and adding display=swap parameters (to improve PSI score and ensure text remains visible during page loading).
The font optimization also preloads the font file asynchronously (not render-blocking) and adds the pre-connect early hint to improve font loading time.
Check your WP Rocket dashboard (Tools tab) to activate the Optimize Google Font feature if it was not enabled before you updated the plugin.

Advanced Rules
For most blogs, you have nothing to do here. Except your situation is unique, and you know what you’re doing, leave this tab alone.
WP Rocket is compatible with WooCommerce and other online stores. It automatically excludes its cache from sensitive eCommerce pages like login, logout, cart, and checkout.
Since most eCommerce websites don’t need to cache these pages, this is the ideal WP Rocket Woocommerce setting for most online stores.
Still, here is what each Advanced Rule option means in the WP Rocket best settings.

- Never Cache URL(s) – If you own an eCommerce store and notice WP Rocket does not automatically exclude the shopping cart and other sensitive URLs from its cache pages, enter them here. Membership sites and forums can also use this feature to exclude pages from being cached. WildCards is allowed to enter multiple URLs under a specific path.
- Never Cached Cookies – This applies to websites handling sensitive user identification like cookies, IDs, and tags. You can specify browser cookies to exclude from caching. But you must know the cookies to exclude them. Ask your dev if you are unsure about what cookies are set.
- Never Cache User Agent – If you want to block specific browsers, devices, or applications from accessing cached and optimized pages from your website, enter the corresponding user agent here. The user agent is the crawler, vendor, or browser that sends the request to access the cached or optimized pages. The never-cached user agent feature might be good for blocking bots like ChatGPT from accessing your cached pages.
- Always Purge URL(s) – WP Rocket purges your website homepage, tags, and category pages upon publishing new content. So, technically, you don’t need to do anything here. But if you have other pages that need to purge their cache anytime a post is updated, add them here.
- Cache Query String(s) – You may want to cache URLs with query strings or parameters (?anything after this question mark in the URL); in this case, enter the specific URL address in the text field. Note: WP Rocket does not cache these URLs by default, so you must enter their address to generate a cached copy.
Database
I used WP-Optimize for database cleanup, but since WP Rocket 3.15, I have switched.
If you prefer WP-Optimize, which gives more control over the database optimization settings, ensure you don’t activate other functions that conflict with WP Rocket.
You will get an error message from WP Rocket for installing WP-Optimize; you can safely ignore it and run the database optimization to clean up tables and others.
As a precaution, delete WP-Optimize after running the database optimization.

Nonetheless, here are the ideal WP Rocket settings for database optimization.

- Revision – This will delete all post revisions. The downside is that you don’t have any revisions left for a post in case you want to revert to an earlier version.
- Auto Draft – You can uncheck this box to let WordPress automatically retain a draft copy of your post if you accidentally log out while writing a post.
- Trashed Post – Delete unless you intend to keep trash posts/pages for a purpose.
- Spam Comments – Any comments marked as spam will be deleted automatically on schedule.
- Trash Comments – These are the Same as Spam comments.
- All Transients – You can safely delete all transients from the database. Plugins will automatically generate them if needed.
- Optimize Tables – WP Rocket automatically optimizes the database tables left by plugins and themes.
- Schedule Automatic Cleanup – Schedule daily, weekly, or monthly automatic WordPress database cleanup. This will run all optimization settings on schedule.
CDN
How you set up Cloudflare or other CDN services with WP Rocket depends on your web host or the content delivery network configuration steps.
If you host with Cloudways, you don’t need to configure WP Rocket settings to work with Cloudflare. The ideal WP Rocket + Cloudflare Enterprise add-on connection is automatically configured for compatibility.
No need to enter your Cloudflare global API keys or Zone IDs. The Cloudflare Global API keys and other settings are autodetected, providing seamless integration for no-tech users.
Though WP Rocket automatically clears its cache whenever you make changes to your site, you may need to clear the Cloudflare cache manually to enable the updates across browsers.
Cloudflare Integration
Cloudflare is a content delivery network (CDN) that can be integrated with WP Rocket to enhance website performance and security.
By connecting Cloudflare with WP Rocket, users can take advantage of Cloudflare’s caching and security features, such as protection against DDoS attacks, Page Edge Cache, image optimization (mirage and polish), and improved website security.
To integrate Cloudflare with WP Rocket, users can follow these steps:
- Enable the Cloudflare Add-on – Navigate to the Add-ons tab in WP Rocket’s settings and enable the Cloudflare add-on. This will allow WP Rocket to communicate with your Cloudflare account.
- Enter Cloudflare Credentials – Fill in the required fields with your Cloudflare Global API key, account email, and zone ID. These credentials are necessary for WP Rocket to manage your Cloudflare settings.
- Opt for Optimal Settings – WP Rocket provides an option to apply optimal settings for Cloudflare. This includes enabling features like minification, Brotli compression, and automatic cache purging, which are designed to maximize performance and security.
- Clear Cloudflare Cache Files – Clear all Cloudflare cache files after configuring the settings. This ensures that any changes you’ve made are immediately reflected on your website.
Integrating Cloudflare with WP Rocket allows users to enjoy improved website performance, security, and a better user experience.
Cloudflare’s global network of servers helps deliver content faster to users worldwide, while its security features protect your site from various online threats.
This combination of WP Rocket’s optimization capabilities and Cloudflare’s robust CDN and security features makes for a powerful duo that enhances your website’s overall performance.
For more information on using Cloudflare with WP Rocket, you can check this help document.
WP Rocket has its content delivery network powered by Stackpath, which provides seamless integration with the plugin. Learn more about RocketCDN and how it can help improve content delivery and user experience.
However, if you use a different web host and are required to configure your CDN with the plugin, WP Rocket has comprehensive tutorials you can follow.

Typically, you just need to enter your CDN URLs (CNAME) into the required fields and save them.
HeartBeat
WordPress HeartBeat API provides real-time data connections between your server and browser. This makes it possible to receive several notifications on WordPress’s backend and frontend.
When you get post schedule notifications, autosave, revision, other users working on a post, etc, these notifications are handled by the WordPress heartbeat API.
It runs several background tasks every 15 -60 seconds, depending on how often; this could lead to high CPU usage on some web hosts.
You can safely reduce the Heartbeat activity for a single-author blog. If you run multiple author or e-commerce sites, set it to reduce activity.
WP Rocket recommends not disabling the Heartbeat API altogether. Entirely disabling it may break plugins or themes using the Heartbeat API calls.

Add-ons
Here, you can turn on the add-on you use to extend the WP Rocket plugin features and compatibility.

- Varnish – This is automatically turned on if your web host uses a Varnish cache. WP Rocket auto-detects it on your server and clears its cache to synchronize with the Varnish cache. I use Cloudways, so I don’t have to do anything to make the compatibility and purge the Varnish cache.
- WebP Compatibility – This feature is for compatibility issues only; WP Rocket does not create WebP image format. If using any of these WebP image converters, Imagify, ShortPixel, EWWW, or Optimus, WP Rocket auto-detects their presence and provides compatibility on the fly. Check this docs page for more information on WebP image add-on features in WP Rocket.
- Cloudflare – If you have a Cloudflare account to connect with the WP Rocket plugin, you can do so via this add-on. You must enter your Cloudflare API keys, Zone ID, email account, and domain. If you’re using Cloudflare APO, you must install the Cloudflare official plugin, and WP Rocket will automatically detect the connection for compatibility.
- Sucuri – You only need this if you’re using the Sucuri firewall service. The Sucuri Firewall cache will be cleared each time the WP Rocket cache is cleared to ensure that content is always up-to-date and compatible. You’ll need to provide your Sucuri API key to make the connection.
Image Optimization
WP Rocket does not provide image optimization features within its plugin. Instead, you need another service to optimize your website images.
However, WP Rocket automatically detects common image compression plugins to enable WebP caching settings if you are utilizing those plugins.
Imagify is the recommended plugin by WP Rocket, their image optimization plugin; that’s why you’d see it in the settings.

You can upload your images to the Imagify online service and optimize, resize, and download them anywhere. You can also use the plugin directly within WordPress, and it continuously optimizes your images.
Imagify creates a WebP format of your site’s images and compresses images in bulk, but it currently does not support the AVIF image file format.
Though Imagify uses its server to optimize your images and then return the optimized version to your server, freeing it of the workload, it does not serve images or use a CDN.
You can use Cloudflare Polish and Mirage, which have better image optimization services than Imagify.
Cloudflare Polish reduces your site image size through lossless or lossy compression to improve image loading time. It also converts images to WebP versions for supported browsers.
While Polish only works on images hosted by your sites, Cloudflare Mirage acts upon any image found on your site. Mirage automatically optimizes images based on the client’s browser type and device. This can significantly improve user experience on mobile devices.
Cloudways users benefit from Cloudflare Polish and Mirage since both services are integrated with Cloudways hosting. You do not need to worry about image optimization using Cloudways as your web host and subscribe to its Cloudflare Enterprise add-on for $4.99 monthly per domain.

Tools
Unless you’re an advanced user and know exactly what you’re doing here, most users have no business looking into this section.
But for this tutorial on WP Rocket’s best configuration for Core Web Vitals, let me explain what each setting or feature does.

- Export Setting – WP Rocket allows you to download a backup of the plugin settings anytime on other sites.
- Import Setting – You can upload WP Rocket’s best setting from another website.
- Rollback – If the WP Rocket performance breaks your site after updating to the latest plugin version, you can roll back to the previous version to resolve the issue.
- Update Inclusion and Exclusion Lists – This feature automatically downloads the exclusion and inclusion list for WP Rocket plugin compatibility with your site theme and other resources. Do not tamper with this feature unless you know what you’re doing.
Tutorials
Lastly, the tutorial section lists helpful video instructions or explainers teaching you how to make the best of your WP Rocket plugin.
These video tutorials contain helpful information on improving essential website performance metrics such as LCP, CLS, and FID. It also includes a video on detecting if WP Rocket works on your site and other troubleshooting guides.
There is nothing to set up or configure here; it is all about learning about the plugin’s functionality and features.

Try Cloudways + WP Rocket + Kadence Theme.
Achieving a faster website goes beyond one aspect of optimization; you need a combination of a high-quality hosting server stack, a powerful cache + CDN, and a lightweight, optimized theme.
Getting these right means users will experience an optimized website with fast page loading, and your web page may benefit from increased search engine visibility.
I have tried a few web hosts; the Cloudways + Cloudflare Enterprises add-on delivers incredible speed and an excellent time to first bytes (TTFB). Your web host is primarily responsible for Time-to-First-Byte (TTFB).
If it takes ages for your web server to respond to requests, no amount of optimization efforts will make a difference. You must upgrade to a more resourceful and highly optimized server to experience faster website pages.
Subscribing to Cloudways also gives you access to benefits from the Cloudways Enterprise add-on solution, which comes with several advanced features, such as:
- Polish – Automatically reduce image file size through lossless or lossy compression.
- Mirage – Optimizes and provides lazy loads for every image file on your website. Improving image performance on mobile devices. It automatically detects the user’s device browser and optimizes performance accordingly.
- Edge Page Caching – Cloudflare will cache your site’s dynamic content and serve the entire website from its global network of servers, improving TTFB and reducing latency.
- Early Hints – Cloudflare Edge will send 103 early hints response codes to browsers to preload links before the 200 ok status. This improves response time and enables faster page rendering.
- Minification – Removes white space and unnecessary comments from HTML/JS and CSS codes on the fly. Automatically reading file size without affecting functionality.
- Caching – Cloudflare will cache static content, such as images, CSS, and JS files, inside its global content delivery network (CDN) servers.
- ScrapeShield – Prevent bots and spammers from harvesting the email addresses displayed on your website.
You get 20% off your first month’s Cloudways invoice with the code “CYBERNAI20” during registration. After that, I advise you to get the WP Rocket plugin and the Kadence themes.
A no-brainer: Now you know a lot about how to tweak WP Rocket’s best settings, so you can follow through once you buy the plugin. Per Kadence’s theme, I strongly recommend it if you care more about theme performance than bells and whistles.
Another WordPress theme to consider is Astra Pro. Astra Pro and Kadence are lightweight and fast-loading and will support your optimization efforts.
However, the last time I compared both themes – Astra and Kadence – on this blog, Kadence was more optimized to help you pass Core Web Vitals, especially Cumulative Layout Shift.
FAQs
What is WP Rocket, and why should I use it?
WP Rocket is a premium WordPress caching plugin designed to speed up your website by optimizing files, reducing load times, and implementing advanced performance techniques. It’s user-friendly and doesn’t require coding knowledge, making it an excellent choice for beginners and pros alike.
What are the best settings for WP Rocket?
The best WP Rocket settings depend on your site’s structure and needs. Still, key recommendations include enabling caching, file optimization (CSS and JavaScript minification), lazy loading for images, and database optimization. Combining these features typically provides optimal performance.
How do I enable caching in WP Rocket?
Cache is automatically enabled in the WP Rocket plugin. It is a default feature, and nothing on your part is required to turn it on.
Should I enable lazy loading for images?
Yes, enabling lazy loading improves site performance by loading images only when they appear on a user’s screen. You can activate this feature in the “Media” tab of WP Rocket. However, since WordPress version 5.5 has lazy loading as a default feature, you may need to turn this feature off in JetPack.
What is WP Rocket’s file optimization feature, and should I use it?
The file optimization feature reduces the size of CSS, JavaScript, and HTML files by minifying and combining them. It’s highly recommended but should be tested thoroughly to ensure it doesn’t break your site’s functionality.
Can WP Rocket improve my Google PageSpeed Insights score?
WP Rocket significantly boosts Google PageSpeed Insights and core web vitals scores by implementing speed-enhancing techniques like caching, file compression, and media optimization.
How does database optimization in WP Rocket work?
WP Rocket’s database optimization cleans up unnecessary data, such as post revisions, trashed posts, and spam comments. This feature can be found in the “Database” tab and should be used periodically or auto-scheduled.
Is WP Rocket compatible with CDN services?
WP Rocket integrates seamlessly with popular CDN services. You can configure your CDN URL settings in the “CDN” tab to deliver static files like images and scripts from a network of servers worldwide.
What precautions should I take when configuring WP Rocket?
Before making significant changes to WP Rocket settings, create a site backup. After enabling features like file optimization, preload settings, or lazy loading, test your site to ensure functionality is unaffected.
Can I use WP Rocket alongside other caching plugins?
No, using WP Rocket with other caching plugins is not recommended, as they may conflict and cause issues with your website. WP Rocket provides a complete caching solution on its own. You can remove unused CSS files, cache query strings, load CSS asynchronously, delay JavaScript execution, load JavaScript deferred, optimize CSS delivery, and more. WP Rocket is sufficient as a cache and file optimization solution.
Conclusion
If you follow the WP Rocket best settings described in this post and your website is hosted on high-performance server infrastructure, such as Cloudways, you should see significant improvements in website speed.
Also, your website’s Core Web Vitals should improve drastically across mobile and desktop.
However, if you still want to test other WP Rocket alternatives, NitroPack is an excellent option. Check my post, where I compared both plugins and weighed their pros and cons.
If you have any concerns or questions about the best WP Rocket setting for your blog, don’t hesitate to reach out via the comment box.



Notice:
Your comment will end up in the trash folder if you spam our comment box. Use your real name, write meaningful and genuine comments. Avoid using keywords or brand name in the name filed and keep your comment relevant to the topic. Thank you.