9 Smart Techniques to Avoid Enormous Network Payloads Warnings

Are you struggling to fix the avoid enormous network payloads warning on Google PageSpeed Insights?

Avoid Enormous Network Payloads is one of the most common warnings you come across when auditing your website’s page speed performance on Google PageSpeed Insights or Lighthouse. This warning indicates you need to reduce the page size of your WordPress website.

avoid enormous network payloads

There are several ways to mitigate this warning such as by optimizing all images, implementing lazy loading, using CDNs for the distribution of the static resources, and other optimization techniques. Let’s understand these optimization techniques in detail.  

What is The Meaning of Network Payloads?

Before diving into the avoid enormous network payload warnings, first, we will explain what is network payloads.  

network payloads

When a user loads your website, the browser sends the HTTP requests to your server. The origin server transfers your website’s resources through the HTTP response. Network payloads indicate the total size of these transferred resources such as:

  • HTML files
  • CSS styles sheets
  • JavaScript files
  • Media files (Images and videos).  

Understanding The Avoid Enormous Network Payloads Warning

In a simple word, this avoids enormous network payload warnings, indicating your web page size is too large than the recommended page size (less than 1600 KiB) by Google PageSpeed Insight. This large page size is correlated with the longer loading time. 

Document

Get The Best PageSpeed Score

For Your WordPress Website

All in One Optimization Plugin
No Coding Knowledge Required

This enormous network payload warning is triggered by Google PageSpeed Insights when your Page size is larger than 1600 KiB or 1.6 MB. In order to achieve a good Google PSI score, you need to reduce your page size. 

Why Fix Avoid Enormous Network Payloads Warning

This enormous network payload indicates a large page size which negatively impacts your WordPress website’s PageSpeed performance, Core Web Vital’s performance (especially in Largest Contentful Paint), and the user experience.

avoid enormous network payloads warning

Therefore, by reducing network payloads you can improve your:

  • Improving the loading time
  • Reducing Largest Contentful Paint (LCP) time
  • Improving the overall pagespeed Insight score 
  • Enhance the user experience 

Let’s discuss these in detail.

Improving the Loading Time

The larger the page size, the longer it might take time to download and render the website’s resources on the browser. You can decrease your page size by reducing the network payloads. 

Page load time, avoid enormous network payloads

Therefore, loading your website’s resources would not take a long time and would improve your web page loading time.

Reducing Largest Contentful Paint (LCP) Time

LCP REDUCING, Overall performance score,

Largest Contentful Paint is a performance metric that calculates the time it takes to render the largest content (hero image, text block) on the browser. Reducing the network payload can improve the LCP time, resulting in a better user experience.

Improving the Overall PageSpeed Insight Score 

Overall performance score

Google PageSpeed Insights scores your website’s pagespeed performance based on the real user experience. By fixing this enormous network payload, you can achieve a good pagespeed score.

Enhance The User Experience 

user experience

As discussed, reducing the enormous network payload can improve your website’s loading performance. A fast-loading website meets user expectations and results in a good conversion rate. 

The Reason Behind This Network Payloads Warning

Before diving into the solution, it’s important to find the root cause behind this enormous network payloads warning. Here we will discuss the most common reason for this network payload warning which includes.

  • Unoptimized CSS and JavaScript files.
  • Large-sized images.
  • Using too many plugins 

Let’s cover these reasons in detail.

  • Unoptimized CSS and JavaScript Files: 

Unoptimized CSS and JavaScript files increase the file size. Therefore, they might be considered render-blocking resources and increase your website’s total blocking time.

  • Large-Sized Images: 

Large-sized unoptimized images often increase your page size and are considered the root cause of the enormous network payloads warning in Google PageSpeed Insights. 

  • Using Too Many Plugins 

Every WordPress plugin has its own HTML, CSS, and JavaScript files that need to be executed during your web page loading time. Therefore, using multiple plugins would increase your network payload by enlarging your page size.

9 Techniques to Fix This Avoid Enormous Network Payloads Warning

Now you already the reason behind this enormous network payloads warning. To pass your Google PSI audit, you need to fix this warning. There are several ways to fix this Google PSI warning including: 

  1. Selecting a fast-loading WordPress theme
  2. Optimizing all images
  3. Compression all resources
  4. Minify CSS and JavaScript files 
  5. Implement lazy load for above-the-fold content
  6. Apply browser caching mechanism 
  7. Use Content Delivery Network (CDN)
  8. Optimize the web fonts
  9. Avoid using too many plugins

Let’s see how to implement these 7 techniques to fix the enormous network payload warning.

Selecting a Fast-Loading WordPress Theme

A poorly developed WordPress theme might be the reason for an enormous network payload warning. If the fundamental resources of your WordPress theme such as HTML, CSS, and JavaScript are unoptimized then it would increase your page size.

wordpress theme

To avoid this issue, you should choose a fast-loading WordPress theme. Here we are listing 5 WordPress themes that you can consider for your website.

  1. Astra
  2. Divi
  3. OceanWP
  4. Avada
  5. Neve

Optimizing Your Images

In order to make your website more attractive, you often add high-resolution images to your website. This would increase the network payloads and reduce the PageSpeed performance of your website. 

optimize your images, image optimization

The most common way to optimize large PNG or JPEG images is to convert them into next-generation formats such as WebP or AVIF. By converting images into WebP or AVIF format, you can reduce the image size without compressing their original quality.

Manually optimizing your all images can be a time-consuming process. To save time you must use an optimizing plugin like RabbitLoader. In bellow, we will discuss how RabbitLoader will help you in image optimization.  

Compression All Resources

Another way you can reduce the enormous network payloads is by compressing the resources of your WordPress website such as HTML file, CSS stylesheet, and JavaScript file.

all resources compression, avoid enormous network payloads

There are two compression methods available to compress your website’s assets.

  1. GZIP is the traditional method for compressing your website’s resources, such as HTML files, CSS stylesheets, and JavaScript files before sending them to the network, improving the page load time.
  1. Brotli uses a modern compression algorithm to improve the compression ratio. Brotli compression is more flexible than GZIP with a higher compression ratio.

When you use RabbitLoader, it compresses all resources, such as HTML, CSS, and JavaScript files, using the Brotli algorithm and sends the compressed files over the network.  

Minify CSS and Javascript Files

Minification is a well-known optimization technique for reducing the network payloads on your website. By minifying your website’s fundamental assets (CSS and JavaScript files), you can remove unnecessary characters like spaces and comments from your CSS and JavaScript files.

css js minification, avoid enormous network payloads

When you are using RabbitLoader, why are you putting extra effort into installing another plugin to minimize your CSS and JavaScript files? RabbitLoader will automatically minify your CSS and JavaScript files to reduce your page size.

Implement Lazy Load for Above-The-Fold Content

If your WordPress website has a lot of images, you need to implement lazy loading. Lazy loading is an optimization techniques that allow your browser to load the above-the-fold images. The rest of the images will load once you scroll down to them.

lazy load above the fold, avoid enormous network payloads

By Implating lazy loading you can fix this enormous network payload warning and improve the pagespeed performance of your WordPress website. 

Lazy Loading can be easily implemented by installing a WordPress plugin, however, when you are using RabbitLoader for optimization, it will take care of your lazy loading along with other optimization features.

Apply Browser Caching Mechanism 

A browser cache temporarily stores your website’s static resources, such as HTML files, CSS stylesheets, and JavaScript files, to speed up the website loading. Thus it would reduce the HTTP requests to the server.

browser cache mecanishm, avoid enormous network payloads

Therefore, by applying the browser caching mechanism you can decrease the number of HTTP requests, reducing the network payloads in your WordPress website.

You can easily apply the browser caching mechanism by installing a WordPress plugin like RabbitLoader. 

Use Content Delivery Network (CDN)

A Content Delivery Network (CDN) reduces network latency by reducing the real-time distance between your user and the origin server. A CDN stores your website’s static content, such as CSS stylesheets, JavaScript files, and images, in the edge/ proxy server worldwide.

cdn,

Therefore, when a user visits your website, the website’s static content will be served from the nearest proxy/ edge server instead of the origin server. This would reduce the network payload on your website.

If you are looking for a free Content Delivery Network (CDN) service for your WordPress website, you must install RabbitLoader. 

Optimize The Web Fonts

While web fonts make a website visually attractive, unoptimized fonts increase the website’s network payload. The best practice is to use a web-safe font to avoid this enormous network payloads warning.

webfont load,avoid enormous network payloads

However, if you want to use web fonts that are not web-safe, you must optimize these web fonts by adding the preload attribute in your HTML tag. For more information, go through our previous blog.

If you are looking for a non-coding solution, install RabbitLoader. It will optimize your web fonts, so you don’t need to put in any extra effort.

Avoid Using Too Many Plugins

In order to optimize your WordPress website’s performance, if you use too many plugins, it would increase your website’s network payload due to its inbuilt HTML, CSS, and JavaScript files.

In simple words, every plugin has its own HTML, CSS, and JavaScript files. These files are also executed during the web page’s loading, automatically increasing the network payload. 

avoid too many plugins,avoid enormous network payloads

To avoid this enormous network payloads warning, you should choose a WordPress plugin that has multiple optimization features. Thus, you don’t need to install other WordPress plugins.

When you are using RabbitLoader, you don’t need any other WordPress plugins for image optimization, lazy load implementation, and other optimization techniques.

How RabbitLoader will help you mitigate this enormous network payloads warning?

At this point, you already know how to fix your avoid enormous network payloads warning and speed up your WordPress site. Let’s explore RabbitLoader’s core features to mitigate this enormous network payloads warning.

  1. RabbitLoader converts your all images into WebP and AVIF format. For its in-built bulk image optimization feature, it lossless compresses your images and reduces the network payload, resulting in a faster WordPress website.
  1. By implementing lazy loading, RabbitLoader will reduce the rendering time of your website’s largest contentful element. Thus, it will improve your LCP performance, enhancing the user experience.
  1. By generating a critical CSS file, RabbitLoader will eliminate your render-blocking resources and reduce the CSS file size by 98%, decreasing your website’s Total Blocking Time.
  1. RabbitLoader compresses your all website’s assets like HTML, CSS, and JavaScript by using Brotli methods. It would reduce your enormous network payloads, increasing your WordPress website’s performance.
  1. RabbitLoader has an advanced caching mechanism that helps you avoid enormous network payloads warnings by reducing the number of HTTP requests to the origin server.
  1. RabbitLoader has an in-built Content Delivery Network (CDN) with 300+ edge servers worldwide, reducing the network latency.

If you come across this avoid enormous network payloads warning during your website’s pagespeed audit, and you are looking for a non-coding solution, you need to install RabbitLoader to fix this warning.

Document

Get The Best PageSpeed Score

For Your WordPress Website

All in One Optimization Plugin
No Coding Knowledge Required

WP Rocket vs RabbitLoader: Which Plugin Would Improve Your PageSpeed Score Better ?

WP Rocket is the most popular cache plugin in the WordPress ecosystem. Since 2013, WP Rocket has been leading the optimization scene for wordpress websites. But how does it compare to RabbitLoader?

Here, we will see a detailed comparison between WP Rocket and RabbitLoader, explore the usability of both optimization plugins, and compare the pagespeed scores after installing the plugins individually on the same website. 

img-17

We would test both the plugins on cellofy.shop one by one & see which plugins helps the website reach a higher pagespeed score in the pagespeed insight test.

WP Rocket vs RabbitLoader: in short

WP Rocket is a premium cache plugin to optimize your wordpress website for better pagespeed performance. With close to 4 million websites using the plugin as claimed by WP Media, it is the leading cache plugin by some distance. 

Over the years Wp cache has moved from just being a cache plugin & have introduced other optimization features too, namely minification, preloading & a few more features to make it more than just a cache plugin.

But when you are using WP Rocket, one would still need to install Imagify for image optimization. If you feel the need for a CDN service you need the premium RocketCDN. And for lazy loading, you need Rocket lazy loading.

In comparison, RabbitLoader is an all-in-one optimization plugin, you would not need any other optimization plugins to improve the performance of your wordpress or woocommerce website.

What is WP Rocket

WP Rocket is a premium wordpress cache plugin. The goal of this plugin is to speed up your website, which is necessary to improve the user experience as well as SEO rankings.

wp rocket

Other than the cache, WP Rocket also uses various optimization techniques like caching, minification of CSS stylesheets, JavaScript files, among others. Wp Rocket being a premium plugin you would have to shell out money even if you wish to try it on your website to gauge your needs.

What is RabbitLoader

RabbitLoader is an all-in-one pagespeed optimization plugin that uses a premium Content Delivery Network (CDN), caching, image optimization, lazy loading, and other techniques to reduce web page loading time for your WordPress website.

rabbitloader

When you are using our RabbitLoader, you don’t need to use different plugins for caching,Image optimization, CDN or even minification. Everything that’s needed to optimize your website is done by RabbitLoader itself without you having to toggle through 10 different settings.

Another advantage of RabbitLoader over WP Rocket is the availability of a forever free version. So if your website is not yet receiving a lot of traffic, you can just use RabbitLoader for free and spend the money to get more traffic.

Major Differences Between WP Rocket and RabbitLoader

Now you have a basic idea about WP Rocket and RabbitLoader. Lets see the differences between WP Rocket and RabbitLoader. Here we are mentioning some key differences between these two plugins.

WP RocketRabbitLoader
Image OptimizationTo optimize images, you need to activate the Imagify & yes, you have to pay for it separately too as the free version only allows 200 MB per month.RabbitLoaderOptimizes your images in WebP & AVIF formats using lossless technology. 
CDNSimilar to images you need another plugin, known as RocketCDN. As you guessed it, it is  a premium CDN.RabbitLoader uses integrated CDN with over 300 PoPs.
Premium CDN ChargeAn additional $7.99/ Month for using the premium CDN.No additional charges.
Critical CSSWP Rocket does not generate critical CSS for your pages.RabbitLoader Generates Critical CSS for all your pages, making them load much faster. 
Free versionWP Rocket doesn’t have any free or trail plan.RabbitLoader has a forever free plan  with 5,000 monthly page views.
PlatformsWP Rocket is exclusive to WordPress.RabbitLoader is available for WordPress as well as Shopify, PHP, and Laravel websites.
PricingWP Rocket’s pricing starts from $59/year.Imagify is $99/year. Rocket CDN is an additional  $89/Year

In Total you need to pay $250/ year to optimize your website’s Performance.
Starting from $191/annual. 

When you are using RabbitLoader, no other plugins are required. So, there is no additional charge required to optimize your website pagespeed.

What are the Similarities Between WP Rocket and RabbitLoader

Performance Optimizer: 

Both optimization plugins, WP Rocket, and RabbitLoader can improve Core Web Vitals, address Google pagespeed Insights suggestions, and help you to achieve good pagespeed performance scores. Although the pagespeed score you can reach using these plugins would be different for each of them.

Browser Caching:

Caching can store static files like HTML files, CSS stylesheets, JavaScript files, media files, and images. It minimizes the work for the server, the server wouldn’t have to serve that content over and over and serve the web page for the users if you leverage browser caching.

For example, when you are visiting our website RabbitLoader.com, your browser will download the RabbitLoader logo in the cache. The next time you visit RabbitLoader.com, this logo is directly loaded from the cache. This is how you can save data per web page.

  • WP Rocket and RabbitLoader, both can improve your website speed by generating HTML files so that in the future, users can access them quickly. It also stores static resources like CSS stylesheets, JavaScript, and image files in the user device’s local memory.

Premium CDN: 

A Content Delivery Network (CDN) is a network of interconnected servers that help to speed up a website’s loading time. It reduces the physical distance between the server and the user and proves the latency.

  • Although there is a free CDNs present in WP Rocket, its effect on the latency is next to none as it has very few PoPs.

For a better experience, WP Rocket has a custom with more PoPs. Known as RocketCDN, It offers unlimited bandwidth.

  • RabbitLoader has an integrated Content Delivery Network (CDN) with 300+ edge locations.CDN cache can save the version of your wordpress website and load this when the same user visits it. The CDN also saves the hosting resources.

WP Rocket vs RabbitLoader: Performance Comparison

We can make all the comparisons we want but as they say the proof is in the pussing, so let’s see how WP Rocket fares against RabbitLoader, to find out we would analyze a demo woocommerce website cellofy.shop in three different cases.

Once without any optimization plugin, then after installing WP Rocket & finally we would be testing it with RabbitLoader installed. 

Also, we will attach the video of the test along with the screenshots of the results.

Case 1- Checking website’s pagespeed without using any performance optimization plugins.

Let’s check the pagespeed performance score of cellofy.shop without plugging any performance optimization tools. 

As expected it didn’t do very well in the pageSpeed test and you managed to achieve a measly 36 for the mobile version and 50 for the desktop version.

Mobile Mode:

In mobile mode, the performance score is just 36. Which indicates this website fails the performance test for the mobile version. Which is not a good sign for any website, specially keeping the mobile first policy google in mind. 

Below are the pagespeed metrics which had a heavy impact on the website’s low pagespeed scores.

Without any plugin Mobile

Desktop mode:

While the desktop division of the The pagespeed performance score is also not very high either, it looks far better than the mobile version. 

Below are the pagespeed metrics that had the biggest impact on its pagespeed score.

  • First Contentful Paint (FCP) – 1.9s
  • Large Contentful Paint (LCP) -2.4s
  • Total Blocking Time (TBT) – 650 ms
img-21

Case 2- Let’s check the website’s pagespeed after installing WP Rocket

While installing Wp Rocket is like any other plugin in the wordpress ecosystem, you would need to “configure” it, go to each other individually & activate them.While it might give the user some satisfaction of them doing the optimization, it is nonetheless a time-consuming process.

But what’s the impact of WP Rocket on the pagespeed score?

            Mobile mode:

Well as far as the mobile version goes, it’s next to no improvement, not only that we can see the Total block time is surprisingly increased after using WP Rocket plugin. Not the best way to spend you 60 odd dollars.

with wp rocket

Desktop mode:

However, we do see the value of the WP Rocket in the desktop version of the website. The optimized version of the website managed to achieve a respectable 78 on the pagespeed score.

We can see FCP, LCP & TBT all improving from their previous states to a somewhat respectable score.

img-23

See the test video :

Case 3 – Checking the website’s pagespeed after installing RabbitLoader

Finally we would install RabbitLoader after uninstalling WP Rocket of course, & check the performance of cellofy.shop, The website is checked within just 5 minutes of installing the plugin and here are the results.

Mobile mode:

Here, after installing RabbitLoader the mobile pagespeed score has improved drastically, while WP Rockets improved the score from 36 for the optimized version to just 37 RabbitLoader manages to bump up the pagespeed scores to a very respectable 82. 

The score improvement is the pagespeed test is the result of improvements made in,

  • FCP ( From to 5.0 seconds to just 3.3 second)
  • LCP ( From to 5.8 seconds to 3.6 seconds) and
  • TBT ( From 1440ms to 40 ms)
img-24

Desktop mode:

Finally, for the desktop version, WP Rocket achieved a respectable 78 from the original score of just 50. RabbitLoader archived a near perfect 99 out of 100. So how did RabbitLoader achieve such an unrealistic looking, near perfect score? That too for the home page?

RabbitLoader has reduced the FCP from 1.9 seconds to just 0.6 seconds.While LCP came down from 2.4 seconds to just 0.7 seconds and the TBT became just 10 ms from 650 ms on the unoptimised website.

with rabbitloader

See the test video:

Checking the website’s pagespeed score table view: without any plugin, with WP Rocket, and with RabbitLoader plugin

Without Any PluginWith WP RocketWith RabbitLoader
Mobile PageSpeed Score363782
Desktop PageSpeed Score507899

Conclusion

If you are planning to optimize your website or improve the current optimization, now you have the information on your side to make a judgment call. 

If you have enough time on your hands maybe spend a day installing both WP Rocket & RabbitLoader on your website & see the differences in score yourself.

Maybe you are using WP Rocket for a long time, maybe it’s time you try RabbitLoader which can give you a bit more performance, that little bit of an edge that might become a deciding factor for the search engine to rank you higher or  lower than your competition.

FAQ:

1. Can I use Cloudflare caching with a WP Rocket?

Yes, you can use Cloudflare with WP Rocket & RabbitLoader both  to enhance your website’s security. Both are compatible with Cloudflare.

2. Which plugin provides superior mobile optimization: WP Rocket or RabbitLoader?

Both WP Rocket & RabbitLoader optimize your website’s mobile optimization. We check the pagespeed performance on a live website and posted the results here for your to interpret the results.

3. What are the key benefits of using WP Rocket for website performance?

WP Rocket is a popular WordPress plugin that is used to optimize performance your wordpress or woocommerce website by implementing various techniques such as browser caching, minifying HTML, CSS, and JavaScript files, using premium CDN (RocketCDN), and many more.



Boost Laravel PageSpeed with 3 Best CDN Caching Services

Laravel stands out as a highly sought-after web development framework, operating on PHP. It empowers developers to adopt a more structured architectural pattern, a departure from the comparatively lenient approach found in core PHP development. The latest trends indicate that approximately 650,000 websites use this framework to run their businesses.

Despite its numerous advantages, encompassing features such as a robust templating engine, middleware, and exceptional testing support, it is worth noting that Laravel may not emphasize speed performance from the end user’s standpoint. Nonetheless, its strengths lie in its comprehensive feature set, fostering a supportive community and streamlining the development process.

Role of PHP Frameworks

While it is possible to create a website solely using PHP without leveraging any framework, as the application expands, the codebase can swiftly become intricate and challenging to maintain. This is where a framework proves invaluable. By bundling essential libraries and pre-built components, a framework accelerates development, simultaneously instilling a level of organizational discipline into the code. This ensures that even sizable development teams can collaborate seamlessly without losing sight of the project’s coherence.

laravel-caching-assets-CDN

When considering popular frameworks, Laravel, Symfony, and CodeIgniter emerge as top contenders, followed by Zend, CakePHP, Phalcon, and others. While these frameworks greatly benefit development teams, optimizing their performance often involves additional efforts.

This may include implementing content delivery networks (CDN) to cache and compress assets like CSS and JS, converting conventional PNG and JPEG images to the more efficient AVIF and WebP formats, and incorporating lazy loading for non-critical assets. These optimizations contribute to enhancing the overall efficiency and speed of web applications built on these frameworks.

Advantages of Using Laravel

Almost all PHP frameworks have mostly these core features built that benefit the application developer and maintainer-

  • Easy setup of routing and middleware
  • Out-of-the-box security features including authentication and password management
  • Better CRUD operations with database due to object-relational mapper (ORM)
  • Templating engine for easy view rendering and separation of concerns with MVC
  • Testing support with integration with libraries such as PHPUnit.

Additional Needs to Grow Traffic

Having so many benefits, there are still many additional setups required to improve the Laravel website’s performance. Below are the checklist items you would like to touch upon-

  • Cache static assets using Content Delivery Network for faster loading
  • Convert images to NextGen AVIF and WebP formats
  • Lazy load images and YouTube videos below the fold
  • Defer JavaScript and unused CSS files
  • Compression and minification of static JS and CSS assets
  • Ensure healthy Core Web Vitals state on Google Search Console

Why a CDN is Required on a Website

The Content Delivery Network (CDN) needs no elaborate introduction; it stands as an essential tool for any public website. Its primary function is to store a copy of static assets like CSS, images, and JavaScript files globally, allowing them to be delivered to website visitors from the nearest geographical location. This approach is instrumental in minimizing download latency. Various service providers operate in this space, including Akamai, AWS Cloudfront, Bunny, and Google Cloud, among others.

Adding a CDN on the Laravel Website

Next, we are going to cover how to configure AWS, Bunny, and RabbitLoader caching on the website. All service providers have some pros and cons in their offerings and core benefits. They also differ in how much one has to spend to run them.

Using AWS CloudFront

AWS is a known brand for its computing infrastructure. The Cloudfront CDN service has 600+ Points of Presence which gives a great service. First, you need to create a new CloudFront distribution.

cloudfront cdn distribution

After the distribution is created, you will get a distribution domain name like ‘dxxx.cloudfront.net’. This is the domain that you can now use to serve the assets of the website by replacing the original host. For example, if the current image path is –

https://www.mylaravelwebsite.com/images/image.jpg

then change it to

https://dxxx.cloudfront.net/images/images.jpg

The change of the host for assets can be done by setting the ASSET_URL variable in the .env file. The .env file is located in the root directory where the app is installed. This is the same directory where composer.json file is also saved. Below is a sample content for the .env file-

ASSET_URL=https://dxxx.cloudfront.net

After making modifications to the .env file, make sure to clear the application cache by running the below command-

php artisan config:cache

Instead of Cloudfront, If you want to use S3 then you can explore juhasev/laravelcdn package.

  • Pros – Brotli compression support for CSS and JS, reliable infrastructure
  • Cons – Complex setup, metered bandwidth, no way to automatically convert images to AVIF/WebP

Using Bunny CDN

Bunny is a bit pocket friendly than Cloudfront. Bunny can be used with the Laravel website as a File System Adapter. There are a few Composer packages available that make the integration a little easier. You can explore platformcommunity/flysystem-bunnycdn package and integrate it with the website.

Make sure you have a Bunny account created before you start the integration. You will also going to need a “Storage Zone” to be created in your account.

bunny-cdn-storage-zone

For a better performance, choose the Edge (SSD) option over Standard. the Edge (SSD) storage tier has a consistent latency of 1-5 ms while the standard tier can have a variable latency of 30-300 ms.

  • Pros – Brotli compression support for CSS and JS, reliable infrastructure, pocket-friendly
  • Cons – Complex setup, metered bandwidth, limited image optimizations, does not reduce database connections

Read next: Boost Laravel PageSpeed with CDN Caching Services

Using RabbitLoader

RabbitLoader transcends the conventional role of a CDN and caching service, offering comprehensive solutions for achieving a truly high-performing website.

It seamlessly handles the conversion of both existing and forthcoming JPG/PNG images into AVIF and WebP formats. By serving these optimized images through the CDN, RabbitLoader significantly diminishes the size and loading time, resulting in an approximate 40% reduction. Moreover, it intelligently defers the loading of JavaScript and non-critical CSS files until they are required, effectively mitigating render-blocking calls and enhancing overall webpage loading speed.

How RabbitLoader Caching Works

RabbitLoader adds a middleware in the Laravel app and caches the entire HTML when a page is first visited. Next time when it seems the same requests, it serves the entire page from the local cache. There are two caching strategies that RabbitLoader uses-

  1. Caching the webpage itself – this happens for all public pages. The content is cached on the first visit and served from the cache on subsequent visits. This strategy reduces the number of times a webpage has to be re-generated by the hosting server and reduces database connections too.
  2. Caching the static assets used on the webpage – static files like CSS, JavaScript, and Images come under this category. The caching of these files is done on the global Content Delivery Network which replicates automatically to all Points of Presence across the globe.

Installing RabbitLoader Optimizer Package

RabbitLoader has a free tier too which is sufficient for a small website or trying the service on a non-production environment. Installing the RabbitLoader Laravel package is pretty easy and can be done in minutes.

  • Pros – Simple installation, unlimited bandwidth, takes care of all PageSpeed optimization, reduces database connections
  • Cons – Can not use the caching alone

Check Also: PageSpeed Optimization Services

Points to Take Care When Updating CSS, JS, and Images

When updating an existing CSS/JS file or an image, make sure that you use some kind of versioning in the resource path. Since the existing files are already cached on the edge servers, modifying the file on the hosting server may introduce a delay in reflecting those for the website visitors.

Below is an example where you see '?v=1.2' appended as a GET parameter to a CSS file. When you update this file, simply change the version to '?v=1.3' or anything of that sort that ignores the previous version of the CSS file when serving the page to visitors.

<link rel="stylesheet" href="https://mywebsite.com/assets/css/theme.css?v=1.2" />

The same concept of all other static files like JavaScript and images.

Optimizing Your Core Web Vitals To Increase Your User Experience & SEO Rankings

The first step in optimizing your core web vitals performance is to measure and identify the core web vitals issues. Once the issues are identified, you can easily mitigate them by following optimization techniques like image optimization to improve LCP, JavaScript optimization to boost your INP, and visual stability optimization to enhance CLS performance.

Core Web vitals

The Economic Times, a major Indian news website, increased its user experience and reduced the bounce rate by 43% by optimizing the core web vitals, increasing LCP performance by 80% and CLS performance by 250%.

Let’s explain the Core Web Vitals, their issues, and how you can optimize them with RabbitLoader to improve your conversion rate.  

What Are Core Web Vitals?

Core Web Vitals metrics refer to a set of three performance metrics that Google developed to measure the user experience based on the 3 primary conditions:

  1. The initial loading performance of your website
  2. The visual stability of your website’s page
  3. The user interactivity of your website.

John Mueller, the senior webmaster trends analyst clarified that the Google core web vitals are the important Search Engine Optimization (SEO) rankings factors. 

However, not all metrics are created equally. Let’s see the weightage of this core web vitals matrics:

  • Largest Contentful Paint (LCP): 25%
  • First Contentful Paint (FCP): 10%
  • Speed Index (SI): 10%
  • Cumulative Layout Shift (CLS): 25%
  • Total Blocking Time (TBT): 30%

What Are The 3 Pillars Of Core Web Vitals?

Prioritizing the real-user experience and not just lab data, Google has set 3 metrics as the pillar of the core web vitals for analyzing the website’s performance.

  1. Largest Contentful Paint (LCP).
  2. Cumulative Layout Shifts (CLS).
  3. First Input Delay (FID).

What is the Largest Contentful Paint (LCP)?

Largest Contentful Paint (LCP) is a web performance metric that measures the time (in milliseconds) it takes for the largest element to render on the web page. This LCP element is most often found on home pages, including the main image of your website, also known as a hero image. 

LCP

Google sets some threshold values to categorize this LCP performance. Let’s understand this in an easy way.

  • If the LCP value is less than 2.5 seconds, Google considers this as a good LCP performance. 
  • The LCP value between 2.5 seconds and 4.0 seconds is considered the average LCP performance and the color will be orange. You need to improve this LCP performance to pass the core web vital test. 
  • If the LCP value exceeds 4.0 seconds, you fail the core web vitals performance.

What is the Cumulative Layout Shift (CLS)?

Cumulative Layout Shift is a user-centric performance metric that measures the visual stability of your web pages in the browser. It’s noted that this CLS is a score, not measured in seconds or milliseconds rather google uses a proprietary metric that denotes how much your visual elements move around when loaded onto the user’s browser.

CLS
  • To provide a seamless experience to your user, your Cumulative Layout Shift (CLS) needs to be 0.1 or less than 0.1.
  • If the CLS score is between 0.1 and 0.25, you need to improve it to achieve a good page speed score.
  •  A CLS score of more than 0.25 indicates the website has failed the core web vital assessment.  

What is the First Input Delay (FID)?

The First Input Delay (FID) measures the interactivity of web pages. This web performance metric calculates the time from when a user first interacts with a page (like clicking a link or button) to the time the browser can respond. 

FID

Like the other two core web vitals metrics, Google categorizes the First Input Delay (FID) performance based on some threshold values. Let’s see how Google categorizes FID performance.

  • If the FID value is less than 100 milliseconds, then it is considered a good FID performance, improvement is not needed.
  • The FID value between 100 milliseconds and 300 milliseconds is considered average FID performance, and it needs to be improved.
  • Finally, the FID value exceeds 300 milliseconds, indicating your website will fail the core web vital test.

What Is Interaction to Next Paint (INP)?

Google developed a new performance metric, Interaction to Next Paint (INP), to replace First Input Delay (FID). This metric measures a web page’s responsiveness by tracking the latency of all interactions, such as keyboard interaction and clicks, that occur throughout a user’s visit.    

INP

In simple words, INP measures the time in milliseconds, focusing on how long it takes for the next visual change to happen after a user interaction. Let’s see how Google categorizes INP performance.

  • The INP value of less than 200 ms is categorized as a good INP performance.
  • If the INP value is between  200 ms and 500 ms, it is considered the average INP performance. 
  • A  more than 500 INP value indicates the website is a failure in the core web vitals assessment.

Passing Core Web Vitals: The 75th Percentile Google Recommendation

According to Google’s recommendation, to pass the core web vital assessment, your website needs to meet the specific threshold value for each metric for at least 75% of the page visits.

The Helpful Tools To Measure The Core Web Vitals Performance

Let’s mention the most helpful online tools to measure the core web vitals performance.

  • Google PageSpeed Insights 
  • GTmetrix

Measuring Core Web Vitals Metrics In Google Pagespeed Insights 

Google develops PageSpeed to analyze a website’s core web vitals performance based on two types of data: field data and lab data, and provide an overall performance score. In Google PSI, you also can see the core web vitals issues. 

google pagespeed insights
  • Field data: Google collects data from the real user’s experience on a website.
  • Lab data: this lab data is collected in the Google Lighthouse lab during the page speed insight test. 

To analyze the performance metric, you just need to click the Analyze button after entering the website’s URL. here you can see the performance score for both devices: mobile and desktop.

Core Web Vitals Test In Gtmetrix 

GTmetrix is the best alternative tool for Google Pagespeed Insight. It analyzes core web vitals performance and shows core web vitals issues. The main advantage of GTmetrix over Google PSI is that you can customize your testing. For more details, visit our previous blog. 

Gtmatrix performance

Apart from these above tools you also can use Google Search Console, Chrome DevTools, and core web vital extension to check the loading time, visual stability, and user interaction of a website.

The Importance Of Optimizing Core Web Vitals

Before moving to the optimization technique, let’s discuss the importance of optimizing core web vital performance. By optimizing these metrics, you can provide a seamless experience to your users. It also affects your Google rankings.  

  • Increasing the Average on-page Time 
  • Improving the Conversion Rate
  • Boosts Your Google Rankings

    Increasing the Average On-Page Time

    Every user expects a well-functioning website. Users are more likely to stay on a website if it takes less time to load, which indicates a lower bounce rate, increasing the average on-page time on a website.  

    Improving the Conversion Rate

    The conversion rate indicates the percentage of visitors who convert to potential leads by completing the desired action. This action includes booking an online appointment, purchasing an online product, downloading any PDF, and more.

    conversion rate

    The conversion rate is linearly proportional to the bounce rate. Therefore, optimizing the performance of core web vitals can reduce the bounce rate and dramatically increase the conversion rate.

    According to a case study, Vodafone increases the conversion rate by 8 % just by optimizing its core web vitals.

    Boosts Your Google Rankings 

    google ranking

    As we discussed earlier, Google considers core web vitals an essential factor in determining rankings. Therefore, optimizing these performance metrics can significantly improve your Google rankings and increase organic traffic.   

    What Are The Most Common Core Web Vitals Issues

    Let’s discuss the factors that cause the WordPress core web vitals issues so that you can optimize these metrics by solving the core web vitals issues. 

    The Most Common LCP Issues

    Simply, LCP calculates the initial page loading time. The most common reason for slow initial loading time is to use unoptimized images, shared WordPress hosting, unnecessary large CSS and JS files, and more.

    1. Adding Unoptimized Images

    Adding high-resolution images can improve your website’s visual appearance, but they increase the file size, which can affect page speed and bandwidth. Therefore, it takes more time to render the most significant elements on the webpage.

    1. Using A Shared WordPress Hosting

    Using shared WordPress hosting may increase the server response time. Many website owners use cheap shared hosting to save money, but it can affect their website performance by increasing the LCP time.  

    Core Web Vitals
    1. Not optimizing HTML, CSS, and Javascript Files

    Many developers prefer to use line breaks, white spaces, comments, and meaningful variable names to increase the readability of code. However, browsers don’t need to parse to render the web page. 

    Therefore, these unnecessary characters increase the HTML, CSS, and JavaScript file size and slow the initial loading time. 

    The Most Common INP Issues

    Let’s explore the most common reasons for poor INP performance, which includes 

    1. Unoptimized JavaScript Code

    Developers use JavaScript for user interaction. However, unoptimized JavaScript code can be considered a render-blocking resource due to blocking the main thread. Blocking the main thread can harm your INP performance by increasing the response time.

     unoptimized js
    1. Using too Many third-party Scripts

    Third-party scripts are often used to optimize website performance. However, these plugins also have their own stylesheets and scripting files that need to be executed during page rendering.

    3rd party script

    Therefore, using too many third-party scripts can significantly impact the website’s performance.

    The Most Common CLS Issues 

    Due to a poor CLS score, your page can be shifted during the lifespan of the page, which leads to a high bounce rate and lower conversion rate. Let’s discuss the most common CLS issues, which include:

    1. Using unoptimized web fonts:
    font optimization

    Many website owners use web fonts to customize their websites, which may cause visual distractions, such as Flash Of Un styled Text (FOUT) and Flash Of Invisible Text (FOIT). This affects user experience and increases the bounce rate, leading to a poor CLS score.

    1. Adding images without set dimensions:

    Another reason for a poor CLS score is using the images without setting the proper dimensions. Determining an image’s width and height is an essential step in maintaining layout stability.

    image element do not explied

    Without these two attributes, width and height, a browser wouldn’t set the appropriate amount of space for the image during its web page’s rendering time. Therefore, Shifting the images can also harm the page’s stability, indicating a poor CLS score.

    Optimizing Your Core Web Vitals With RabbitLoader

    After identifying the core web vitals issues, you, as a website owner, need to fix them to increase the user experience. Here we will discuss the non-coding and effortless solutions. So, let’s explore how RabbitLoader mitigates these web vitals issues.

    How Does RabbitLoader Mitigate the LCP Issues?

    • RabbitLoader optimizes images by converting them into the AVIF and WebP formats. This reduces the size of images without sacrificing their quality. This will help you reduce the page size and mitigate the “avoid enormous network payload” warnings in Lighthouse.
    • Apart from this image optimization, RabbitLoader also adds a lazy loading to increase the initial loading time by deferring below-the-fold images. 
    • RabbitLoader generates a separate file for the critical CSS and reduces the initial loading time by almost 90-95%, improving the LCP performance.
    LCP performance  Improvement, core web vitals
    • By adding the browser caching mechanism, RabbitLoader stores a website’s static assets and reduces the server response time. By doing so, you can easily mitigate the most common PSI warning “reduce initial server response time”.
    • Through its in-build premium Content Delivery Network (CDN), RabbitLoader distributes the frequently assessed resources into the proxy/ edge server.
    • RabbitLoader reduces the size of HTML, CSS, and JavaScript files by deleting unnecessary characters from the coding file. This is known as the minification process. Thus, the execution time would automatically reduce, improving the loading time.

    How Does RabbitLoader Improve the Performance of INP?

    • As discussed, a large JavaScript file is the main culprit of the poor INP score because it would block the main thread. So RabbitLoader defers the JavaScript functions which are not required for the initial page rendering time.
    • RabbitLoader allows multi-threading, which means if the main thread is busy we can use other threads simultaneously
    INP improvement, core web vitals

    By allowing multi-threading in JavaScript, RabbitLoader can easily resolve the most common warnings, such as “minimizes main-thread work,” “avoid long main-thread tasks,” and “reduce initial server loading time.” 

    • RabbitLoader mitigates the “remove unused CSS” warning by removing the CSS rules or styles that are not utilized on the website. Therefore, it would automatically improve the website’s initial server response time by improving the INP performance.

    How does RabbitLoader increase the CLS score? 

    RabbitLoader helps you to improve the user experience by improving the CLS score. Let’s see how.

    CLS increase
    • When you are using RabbitLoader, it automatically resizes your images for each screen size to prevent the shifting issue, improving the CLS performance as well as the user experience. 
    • The advantage of using RabbitLoader is that it can load images and videos with a loading animation, which helps to minimize slow-loading content. 

    Conclusion

    You need to optimize a website’s Core Web Vitals in order to increase the page’s responsiveness, visual stability, and loading speed. This can improve user experience and help boost conversion rates.

    By improving the core web vitals, you can mitigate Google Pagespeed Insights‘ common warnings such as “removed unused CSS,” “minimizes main-thread work,” “avoid long main-thread tasks,” “reduce initial server loading time,” “avoid enormous network payloads.” 

    If you also come across the above warnings and you are trying to mitigate these by optimizing core web vitals, don’t waste time on unfruitful solutions. Install RabbitLoader and provide a seamless experience to your users in just a couple of minutes.

    Document

    Get The Best PageSpeed Score

    For Your WordPress Website

    All in One Optimization Plugin
    No Coding Knowledge Required