As mentioned in the previous article, WP Rocket is one of the best caching plugins for WordPress today. Not only does this premium plugin possess outstanding features compared to its competitors, but installing and configuring it is also very simple. It can be said that WP Rocket is an outstanding value for money plugin.
If you have already ordered this plugin, then here is a guide to install and use it. Please quickly activate WP Rocket on your blog/website to experience the great speed it brings.
How To Use WP Rocket Plugin
1. To start using the WP Rocket plugin, first, you need to install and activate it. Since this plugin is not available on the WordPress.org plugin store, you must upload it to install.
2. After enabling WP Rocket, please disable and delete plugins that support cache creation, data minify, lazyload … that you have installed earlier.
3. Go to Settings => WP Rocket. Here, you will proceed to set up some other options for WP Rocket. As for the basic features, WP Rocket is automatically activated right after you activate this plugin.
4. Dashboard Tab:
- Remove all cached files: delete all cache files.
- Start cache preloading: create a new cache file.
- Purge OPCache content: clear OpCode cache.
5. Cache Tab:
- Enable caching for mobile devices: enable caching for mobile devices.
- Separate cache files for mobile devices: Separate cache files for mobile devices and computers. If your theme is responsive, do not tick this item.
- Enable caching for logged-in WordPress users: Enable caching for logged-in users.
- Specify time after which the global cache is cleared (0 = unlimited): set the time to automatically delete the entire web cache, leave the value to 0 if you want to disable this feature..
6. File Optimization Tab:
- Minify HTML: HTML compression.
- Combine Google Fonts files: combine Google Fonts files.
- Remove query strings from static resources: remove query strings from JS, CSS files.
- Minify CSS files: compress CSS files.
- Combine CSS files (Enable Minify CSS files to select): merge CSS files into one, requires Minify CSS files to be enabled first. This feature should not be enabled if your website supports HTTP/2.
- Optimize CSS delivery: optimize CSS files’ display and help you fix CSS errors that block rendering of content on Google PageSpeed Insights.
- Excluded CSS Files: removes CSS files that you do not want to compress and merge, helping resolve interface breakage.
7. Tab Media:
- Enable for images: enable lazyload for images.
- Enable for iframes and videos: enable lazyload for iframes and video.
- Disable Emoji: disable Emoji (emojis in WordPress).
- Disable WordPress embeds: disable Embed Script.
8. Tab Preload:
- Activate sitemap-based cache preloading: enable preload feature according to XML Sitemaps.
- Manual: manually re-create the cache.
- Automatic: re-create cache automatically. Disable this feature if it overloads your server.
- URLs to prefetch: DNS prefetch can make files outside the host load faster, especially mobile networks. Enter the URLs of the files you want to prefetch in this field.
9. Advanced Rules tab:
- Never Cache URL(s): enter the URLs that you do not want to cache.
- Never Cache Cookies: Enter the IDs of the cookies that you do not want to cache.
- Never Cache User Agent(s): Enter user agents’ strings that you do not want to cache.
- Always Purge URL(s): enter the URL to clear the cache when posting or updating the article.
- Cache Query String(s): Enter the query string that you want to cache.
10. Database tab:
- Revisions: delete edits.
- Auto Drafts: deletes automatically saved drafts.
- Trashed Posts: delete junk posts (in Trash section).
- Spam Comments: delete spam comments.
- Trashed Comments: remove junk comments (in Trash section).
- Expired transients: deletes expired transients.
- All transients: delete all transient.
- Optimize Tables: Optimize tables in the database.
- Schedule Automatic Cleanup: set up database cleaning periodically, daily, weekly or monthly.
11. CDN tab:
- Enable Content Delivery Network: enable this feature if your site uses CDN (MaxCDN, KeyCDN…). If you use CloudFlare there is no need to activate.
- CDN CNAME(s): enter your CDN link here, such as cdn.wpvisby.com. There is also an option that allows you to run entire files, just images, CSS and JS, just JS or just CSS on the CDN.
- Exclude files from CDN: Enter the URL of the files that you do not want to run on the CDN.
12. Tab Add-ons:
- Varnish: Turn ON if your host supports Varnish cache.
- CloudFlare: switch to ON status if your website uses CloudFlare.
When CloudFlare is ON, an additional tab will appear allowing you to establish a connection with your CloudFlare account:
- Global API key: CloudFlare API, you can see instructions for getting API here.
- Account email: email your CloudFlare account.
- Domain: enter your website’s domain.
- Development mode: Switch to ON if you do not want CloudFlare to cache website data, often used when you edit CSS or JS files.
- Optimal settings: switch to ON if you want WP Rocket to optimize the settings for CloudFlare automatically. It would help if you were careful when using this feature, it’s best to set it up manually.
- Relative protocol: only used with flexible SSL of CloudFlare. The URL of the JS and CSS files will be changed to // instead of http:// or https://.
- Clear all CloudFlare cache files: delete all cache files on CloudFlare.
13. Tab Tools:
- Export settings: allows you to download the WP Rocket plugin configuration file to your computer. You can use this file to set up the WP Rocket plugin on other websites quickly. Export settings: allows you to download the WP Rocket plugin configuration file to your computer. You can use this file to set up the WP Rocket plugin on other websites quickly.
- Import settings: allows you to upload the WP Rocket plugin configuration file from your computer.
- Rollback: This feature will allow you to downgrade WP Rocket to an older version if the current version is faulty or incompatible with the website.
Finally, click the Save Changes button to save all the settings.
Accomplished! You have completed the installation and configuration of the WP Rocket plugin. It’s simple, right? Now is the time to experience the effects that WP Rocket brings to your blog/website.