The WP Rocket plugin can speed up your WordPress site through caching and other performance optimizations. WP Rocket is also compatible with other optimization services, such as Cloudflare.
Downloading and Installing WP Rocket
First, visit the WP Rocket site and click Buy It Now.
Choose the plan that works for you.
Perform the required actions to place your order. On the confirmation screen, click Download WP Rocket & Install It to download the ZIP folder. Make sure you do not extract the files.
Next, log in to your WordPress Dashboard.
Open your Plugins panel and delete all the other optimization plugins, such as WP Super Cache and W3 Total Cache.
Open your Add Plugins panel and click Upload Plugin.
Click Choose File and select wp-rocket_CURRENT.VERSION.zip from your computer’s Downloads folder. Click Install Now.
Once WordPress automatically finishes the installation, you’ll get an email confirming a new domain has been added to your WP Rocket account.
Now, activate the plugin, and WP Rocket will be added to your Settings menu.
Configuring WP Rocket
As soon as you activate the plugin on your WordPress app, WP Rocket will begin caching your pages. But, there are various settings you need to set up to suit your site.
Now, open the plugin’s panel by clicking the WP Rocket menu at the top of your WordPress dashboard.
Next, use these recommended Basic Options to get the most out of WP Rocket without crushing your app.
Lazy Load
Enable the lazy loading of images, especially if you have a lot of images on your site.
Lazy load makes a long page load faster by delaying the images outside of the viewport until the user scrolls to them.
Mobile Cache
You can enable mobile caching as long as you are using a regular or responsive theme without any mobile plugins.
Logged In User Cache
Enable caching for logged in users if you have users who log in to access your site.
Each user will get their own cache.
SSL Cache
If you have installed an SSL certificate on your site, then you need to enable SSL caching in WP Rocket.
Files Optimization
We recommend leaving minification and concatenation disabled unless you are a very qualified WordPress developer.
These settings may sometimes produce wreckage in the display and layout of your site, depending on your code; refer to WP Rocket’s documentation for superior guidance on minification and concatenation.
Cache Lifespan
Finally, leave the caching lifespan set to 24 hours. Setting this too low will clear the cache too frequently while setting it too high might cause visitors to miss the most recent content on your website.
Confirming WP Rocket Is Caching
Follow these steps to confirm WP Rocket is caching properly.
First, log out of WordPress, unless caching for logged in users is enabled.
Next, visit your app’s domain and view the source code.
You should see the following comment at the bottom of the page:
This website is like a Rocket, isn't it ? Performance optimized by WP Rocket. Learn more: http://wp-rocket.me
If minification is switched on, you may not see the comment but you will see links to the minified files in the header.