WP Rocket Information – Tips on how to optimize your WordPress Web site Velocity – MonetizeBetter

0


Today, I will show you how to optimize your WordPress website speed using WP Rocket. Read my complete WP Rocket guide below, as I will also share my recommended settings and tips that have helped me optimize over 100 WordPress websites.
Don’t have WP Rocket yet? Check out the WP Rocket review I’ve put together, then do your website a favor and get yourself a copy of the plugin. You can test it for 14 days free.
Test WP Rocket for 14 days for FREE.

Why is website speed crucial?
Because performance is so essential—affecting everything from user experience to Google rankings and conversion rates—everyone who wants their site to succeed must ensure it loads quickly.
According to Google research, 53% of visitors leave a website if it takes more than 3 seconds to load. That’s why every website should be optimized for speed and have a powerful caching system.
In 2020, Google announced an update around May 2021, focusing on Core Web Vitals. This means that how fast your website loads will highly impact your rankings. And we know that keyword drops can result in up to an 80% loss of traffic. You can’t afford this.
So, having a fast website means more visitors, more conversions, and more conversions.
How fast is your website? Test it on the Web. dev, which Google created, and focus on your website’s most essential speed factors. Below is a report of a website I optimized several days ago for a customer:
Web. dev Optimization Report
Unfortunately, hosting is shared; otherwise, we could aim for at least 95%. Yet an 84% score is good enough, and I’ve obtained it by installing and configuring WP Rocket.
Have I convinced you to pay attention and read further?
What is WP Rocket?
In summary, WPRocket is an easy-to-use WordPress plugin that speeds up your website by optimizing page caching, image delivery, and other technical aspects such as script loading. WordPress experts recognize WP Rocket as the most powerful caching plugin.
The plugin is speeding up almost 1 million 500 websites, making it the most popular WordPress speed improvement plugin.
WP-Rocket Dashboard Overview
In addition to the plug-and-play factor, WP Rocket offers extensive documentation, including video guides, to further improve your website’s loading times.
We will go through all the tools and settings in WP Rocket to understand what you can do easily and how to optimize your website for speed.
Don’t have WP Rocket yet? Do your website a favor and get yourself a copy of the plugin. You can test it for 14 days free.
Test WP Rocket for 14 days for FREE.
Purchase & Installation
After you purchase a WP-rocket license from their official website, you will get access to the members’ area, where you can download the latest version of the plugin.
Afterward, go to your WordPress admin area, navigate to Plugins, Add a new plugin, and upload the zip archive you just downloaded. Then, activate the plugin.
WPRocket Installation
WP Rocket is now activated, and it has already started optimizing your website. However, to achieve proper website speed optimization, you should tweak its settings, as that’s where its true power lies.
Let’s start!
Dashboard
The Dashboard tab provides information about your license and allows you to perform essential actions. Specifically, you can purge your entire cache and/or start preloading the cache.
For example, if you recently made a significant change to your site, you might want to purge the entire cache so your visitors see it immediately. After purging the cache, you could start cache preloading to get those pages back into the cache.
WPRocket Dashboard
Cache
That’s an essential function of the plugin, which powers your website’s caching. In a nutshell, the cache function creates a static page for your content that will be served to all visitors.
This way, the pages will not be dynamically generated every time visitors visit your website. This saves a lot of time and dramatically improves the loading speed.
WPRocket Cache
Mobile Cache
I’ve enabled the Mobile cache. You don’t need to create separate cache files for mobile devices, since my WP theme is responsive and quickly adapts to mobile devices.
User Cache
WP Rocket will create a separate cache for logged-in users, which is excellent if you have restricted content that users need to be logged in to see. However, you can leave this box unticked if you don’t have registered users on your site.
I recommend enabling user cache because when you log in as admin, you can see how your website looks when it is being cached and fix any errors.
Cache Lifespan
How long should the cache files be available before they are automatically deleted and rebuilt? You have to experiment with the option that works best for you. I set it to 0 for unlimited time because I manually cleared the website’s cache.
File Optimization
Another necessary settings tab is the one related to file optimization. Files (HTML, CSS, and JS) heavily impact loading speed.
It is crucial to test these settings and see which one works for you. Remember to try contact forms, loading pages, etc.
There are thousands of themes and plugins. Some are outdated, while others are poorly coded. WP Rocket tries to optimize them, but sometimes, it can break things. So, test and see what works for you.
WPRocket File Optimization Tab
CSS Files
CSS files store your website’s visual code, including which fonts to use where, font sizes, colors, element sizes, etc. Most stock themes include a lot of CSS code that is often not optimized.
WP Rocket helps you deal with this by ensuring you load only what you need when you need it, making your website faster.
Minify CSS Files
Enable CSS file minification, then enable the option to combine them. After this, hit Save, reload the cache, and test your website’s appearance heavily on desktop and mobile.
Exclude CSS files
If some CSS files cause visual errors, you should exclude them from minification and concatenation in the’ Exclude CSS files’ box.
Optimize CSS delivery
Optimizing CSS delivery eliminates render-blocking CSS on your website, improving perceived load time. Please enable it and test your website again. If everything looks good, let’s proceed.
You should also remove unused CSS per page, which helps reduce page size and the number of HTTP requests. That’s recommended for best performance, but you should test thoroughly, as WPRocket may remove some CSS for dynamic elements, which can make your website look sluggish. Use the CSS safelist to add the files and classes you want to exclude from removal.
If you have issues with Remove Unused CSS, you can use the Load CSS Asynchronous function. However, Load CSS Asynchronously cannot be enabled simultaneously with Remove Unused CSS.
JavaScript Files
JavaScript files are responsible for the functionality of your WordPress website. Still, they can cause slowdowns if the code is not optimized or loaded correctly, or if too many files are loaded at once.
WP Rocket helps you deal with this by ensuring you load only what you need when you need it, making your website faster.
Minify JavaScript Files
Enable JavaScript minification, then enable the option to combine them. If JS inline patterns cause errors, you should exclude them from minification and concatenation in the excluding CSS files box. The same is true for JavaScript files.
Combine JavaScript files
If your website is hosted on a site that does not support HTTP/2, you should also tick the “Combine JavaScript files” box. This minimizes requests by combining your site’s internal, third-party, and inline JS-reducing HTTP requests. However, HTTP/2 allows multiple files to be transferred simultaneously, so it is better not to use this function. More details about this.
Load JavaScript deferred
Loading JavaScript deferred eliminates render-blocking JS on your site and can improve load time. Please enable it and test your website again. Delaying JavaScript execution gives you excellent results by allowing it to run and by letting you delay the scripts you can.
Delay JavaScript Execution
You can improve performance even further by enabling the Delay JavaScript Execution function, which delays loading JavaScript files until user interaction (e.g., scroll or click). More info
When using the, you might experience a delay in loading elements in the viewport that need to appear immediately, e.g., the slider, header, and menu. You can easily select which scripts should NOT be delayed if you need instant visibility. This selection will help users interact with the elements straight away.
Excluded JavaScript Files
Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line).
Media
The 3rd most crucial tab is about media files (images and videos).
WPRocket Media
Lazy Load
Lazy Load improves actual and perceived loading time. Images, iframes, and videos are loaded only as they enter the viewport, reducing the number of HTTP requests.
Enable it for images, CSS images, iframes, and videos, and see if this function works on your website. If it does, keep it. Also, I recommend ticking the box to replace the YouTube iframe with the preview image, as this will significantly reduce load time if you have YouTube-embedded videos on your website.
Use the Exclude Images or iframes for the elements that do not look or work as they should.
Image Dimensions
This feature adds missing width and height attributes to images. This helps prevent layout shifts and improves your visitors’ reading experience.
Embeds
It prevents others from embedding content from your site, prevents you from embedding content from other (non-allowed) sites, and removes. JavaScript requests related to WordPress embeds.
I have mixed opinions on this. You can enable it for a little more speed, but on the other hand, if people embed your images, infographics, or content from your website, they cannot do it.
Preload
WP Rocket will generate the cache when you enable preloading, starting with the links on your homepage and then the sitemaps you specify. Preloading is automatically triggered when you add or update content, and it can also be manually triggered.
WP Rocket Preload
Preload Cache
I activated cache preloading, and the plugin identified that I use Yoast SEO XML sitemap as a source of pages. If you use another plugin for sitemaps, you can add the sitemaps in a text box.
Preload Links
Link preloading improves the perceived load time by downloading a page when a user hovers over the link. Please enable it.
Prefetch DNS Requests
DNS prefetching can speed up the loading of external files, especially on mobile networks. To do this, see which external resources your website loads, then add the domains to the prefetch DNS requests box.
Preload Fonts
Improves performance by helping browsers discover fonts in CSS files. Remember to specify the URLs of the font files to be preloaded (one per line). Fonts must be hosted on your domain or the domain specified on the CDN tab.
WP Rocket Preload Fonts
Advanced Rules
This tab allows you to write advanced caching rules. You can exclude some pages, user agents, or browsers from caching with the cookies you set.
WP Rocket Advanced Rules
Never Cache URLs
Here, you should add any URLs you don’t want cached. I’ve added the links containing contact forms with Recaptcha, as they conflict with WPRocket.
Never Cache Cookies
Here, you can specify full or partial cookie IDs that should prevent a page from being cached when set in the visitor’s browser (one per line). However, you don’t have to use that 99% of the time.
Never Cache User Agent(s)
If you get an error in a specific browser, you can specify the user-agent strings that never see cached pages (one per line). Once again, I wouldn’t use this; instead, I would try to solve the browser causing the error.
Always Purge URL(s)
You may specify URLs you always want to be purged from the cache whenever you update any post or page (one per line). I don’t use this.
Cache Query String(s)
Query-string caching lets you force caching for specific GET parameters.
Database
You can clean up the database on this tab. For some active blogs that have been around for a couple of years or have heavy traffic and content, you should get rid of a lot of garbage.
WP Rocket Database
Post Cleanup
Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts.
. Cleanup
Spam and trashed comments will be permanently deleted. I enable both of these options.
Transients Cleanup
Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them.
Database Cleanup
Reduces database table overhead, enabling table optimization.
Automatic Cleanup
You can schedule automatic database cleanup. I recommend backing up before playing with these settings.
CDN
A CDN (Content Delivery Network) will help you deliver images and other media files from your website faster. That’s because they are hosted on different servers worldwide, so people in Europe will get images from a European server, those in the US from a US server, etc.
WPRocket CDN Tab
What’s nice is that you can create separate rules for all files, images, CSS, and JavaScript, just as well as CSS and JavaScript.
WP-Rocket recommends using their CDN service, RocketCDN. If you have another service, you can enable it in this tab. I use KEYCDN at the moment.
Exclude files from CDN.
Sometimes, some files are updated often, or you don’t want to host them on a CDN, so you can specify the URL(s) of files that should not be served via CDN (one per line).
Heartbeat
Reducing or turning off the Heartbeat API’s activity can help save some of your server’s resources.
WPRocket Heartbeat
You can enable this option if you are on a small server or shared account and your website receives a lot of traffic.
Addons
WPRocket addons are features extending available options.
WPRocket Addons
Varnish
You must activate this addon if Varnish caching is running on your server.
Cloudflare
If you are using Cloudflare, you should add the API Key and enable this addon so WP Rocket can control the settings and use the optimal ones. It also clears the Cloudflare cache, so there will be no latency.
WP Rocket settings for Cloudflare integration
WebP compatibility
Enable this option to have WP Rocket serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. You can use their service, Imagify or ShortPixel. I use the second.

Sucuri
You can synchronize the Sucuri cache with this addon.
Image optimization
As I’ve mentioned before, image optimization significantly affects your website’s loading speed. WP Rocket recommends using its Imagify service. Using Imagify, you can compress images to speed up your website while maintaining image quality.

I’m using ShortPixel, so I don’t know how good their service is. You can test it and see how it works for you.
Tools

The Tools tab lets you easily export and import settings. This is helpful if you have multiple websites and want to use the same configuration or test things.

Export settings—Download a backup file of our settings if you break something and need to restore what works.
Import settings – Import the settings file you downloaded previously. If you install WP Rocket on multiple sites and use the same settings, you can import them here.
Rollback—Does the current version of WP Rocket cause issues on your website? You can roll back to the previous significant version here.
Enable Google Font Optimization – This one-time action improves font performance and combines multiple font requests to reduce the number of HTTP requests.
Update Inclusion and Exclusion Lists—Compatibility lists are downloaded automatically every week. Click the button to update them manually.

Tutorials
The WP Rocket team put together a couple of videos that walk through the plugin’s main features so you can learn how they work and what to use to optimize your WP website for speed.
WP Rocket Tutorials
Don’t have WP Rocket yet? Check out the WP Rocket review I’ve put together, then do your website a favor and get yourself a copy of the plugin. You can test it for 14 days free.
Test WP Rocket for 14 days for FREE.
Installations management
In your WP Rocket members area, you can see all the sites where you installed WP Rocket, the version for each site, and its status. You can also quickly stop a website from using your WP Rocket license.
WP Rocket License Management
This is helpful for agencies that issue licenses to clients and must share them. If a customer is no longer paying for maintenance, you can stop WP Rocket and revoke the permit, so they will have to purchase their own.
Conclusion
Don’t have WP Rocket yet? Check out the WP Rocket review I’ve put together, then do your website a favor and get yourself a copy of the plugin. You can test it for 14 days absolutely free.
Test WP Rocket for 14 days for FREE.



Source
Las Vegas News Magazine

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More