Understanding Time to First Byte (TTFB): Key Metrics for Website Success

The TTFB (Time to First Byte) is a website’s performance indicator that substantially impacts a website’s pagespeed performance, user experience as well as SEO rankings.

While performing a website pagespeed test, you have come across the term TTFB (Total to First Byte).  But what is TTFB, and why is it important?

ttfb banner

Today we are going to dive into what TTFB is in detail and how it affects your website’s pagespeed. Also, we will discuss the most powerful strategies to reduce it.

What is TTFB?

Time to First byte ( known as TTFB) is a foundational metric for determining the responsiveness of a web server. In simple words, TTFB is used to measure the time it takes for a user’s browser to receive the first byte of the response from a web server after requesting a webpage.

Check More: Time to Interactive

Time to First to First Byte (TTFB) is impacted by three actions : 

Sending an HTTP Request to the Server

When a user visits a website the browser sends an HTTP request to the server. In this stage, several factors can affect the site speed:

  • Physical distance between the server and a user
  • Slow DNS lookup
  • User’s internet speed. 
ttfb server response

Processing and Generating the HTTP Response

After reaching the request to the backend or server, the server must take some time to process it and generate a response. Due to the following reason this process takes time.

  • Lack of caching layers
  • Slow database
  • Excessive scripts

Sending the HTTP Response to the User

After this process, the server needs to send back the response to the user. It also depends on some metrics like:

  • Slow dns lookup
  • Physical distance between the server and a user
TTFB gtmetrix

Why is TTFB Important?

Now you have a brief idea about TTFB (Time to First Byte). Here you will discuss its importance. Here, I am maintaining the most important reasons.

User Experience

A faster-loading website can provide user experience. Users will more engage with the content of the web page and stay longer on the website if it takes less time to load. 

ttfb waterfall

A faster TTFB (Time to First Byte) leads to a faster website that can enhance the user experience.

Conversion Rates

A conversion rate provides records of the percentage of users who have completed the desired action of the website.

If you have a fast-loading website then the average on-page time will increase. It leads to a higher conversion rate as well.

Mobile Experience

A mobile user has limited resources compared to a desktop user. A desktop has a better internet speed than a mobile. A desktop has a better processor and it can be connected to the Internet with the help of cables.

ttfb  on mobile and desktop

Whereas a mobile user uses a data network and wireless connection. If TTFB increases then mobile users will face more issues.

SEO Impact

Among the many metrics, pagespeed is one of the crucial metrics that Google uses to determine Search Engine Optimization (SEO) rankings. 

Although there are a lot of factors that affect the pagespeed, TTFB is one of them.     

3 Ways to Measure TTFB

There are several tools available such as Chrome DevTools, Google PageSpeed Insights, GT Metrix, Google Lighthouse, and many more that you can use to measure Time to First Byte (TTFB).  However, you can see slightly different scores on different websites due to some factors such as testing location, testing methodology, and so on. 

ttfb diagram

Here, we are mentioning 3 easy methods to test TTFB.

Chrome DevTools

Using Chrome DevTools is the most common way to measure TTFB. Here we are mentioning the steps that you can follow.

  • Step 1: Right-click on the web page in Google Chrome and click on Inspect
Chrome dev tools
  • Step 2: Go to the Network tab and refresh the web page or press F5.
ttfb
  • Step 3: Click on the website name.
ttfb
  • Step 4: Click on the Timing tab.
ttfb
  • Step 5: Go to the Request / Response section.
ttfb

  Here you can see the TTFB of the tested website (RabbitLoader.com) is just 58.87 ms

Google pageSpeed Insights

Google pagespeed Insights provides a report based on the user experience of a webpage for both mobile and desktop versions. It also provides you the suggestions on how that web page can be improved.

Page speed insights

It also shows you the core web vital metrics performance such as FCP (First Contentful Paint), LCP (Largest Contentful Paint), TBT(Total Blocking Time), Cumulative Layout Shift (CLS), and Time to First Byte (TTFB).

To check the Time to First Byte (TTFB) in page speed insights you just need to put the URL of the website and click on Analyze.

WebPageTest

An online website speed test tool, WebPageTest can be used to test the performance of web vitals like TTFB, LCP, CLS, and so on. 

Here, you need to enter the website URL to test the website’s performance. 

Web page test

After putting the URL you need to click on Start Test.

What is considered a good TTFB?

According to Google, a good Time to First Byte speed should be less than 800 ms. This time varies depending on the content type of the webpage

  • If the content of the webpage is static, TTFB should be less than 200 ms.
  • If the content of the webpage is dynamic, TTFB should be between 200ms-800 ms.

Whereas the 800 ms to 1800 ms range is considered an average score and it can be improved by optimizing the website.

ttfb

If TTFB exceeds 800 milliseconds, users will likely leave from the web page. It will affect Google’s ranking as well. This high TTFB indicates an issue on the server side. 

7 strategies to reduce TTFB for your WordPress website 

You already know what is Time to First byte and how to measure it. Now let’s dive into some powerful strategies for improving TTFB for a better user experience and SEO ranking.

Compress and optimize the website’s images

Image is the most powerful form of communication. An image can easily convey messages. Without any image, the website looks dull. 

However, these images are the most common reason for a slow website as well as a low TTFB score. According to Google, images consume 50 % of all bytes of a webpage.

img-15

To improve the time to First Byte performance, you need to compress the image size as much as possible. It can be possible by converting a large-sized image to a WebP format or AVIF format.

For lossless compression, you can use online image optimization plugins like Imagify, RabbitLoder, Smush, and so on.

Use a Content Delivery Network (CDN)

A content delivery Network is a group of proxy servers that are geographically distributed around the world. It will help to reduce the real-world distance between the user and the server.

Let us understand with an example. The original server is located in Chicago, USA, and the user visits from India. Due to this physical distance, network latency will increase.

cdn

By using CDN you can temporarily store static content (HTML, CSS, JavaScript, Media files) as well as some dynamic content ( which are not changed frequently) in a proxy server to reduce server response time. It will help you to reduce latency and improve website speed performance.

Popular CDNs such as Cloudflare, CDN77, Stackpath, and CloudFront take care of all content delivery for you and improve Time to First Byte performance. Also, you can use the all-in-one performance optimization plugin RabbitLoader, which has an integrated CDN serving with over 300+ PoPs.    

Minify HTML, CSS, and JavaScript:

HTML, CSS, and JavaScript are the fundamental resources of any web page. HTML creates the webpage content whereas CSS creates the webpage more stylish and finally, JavaScript makes to webpage interactive.

Developers use unnecessary comments, space, and a large variable name for better understanding. It will increase the Time to First Byte.

code minifier

By deleting these unnecessary comments, space, and a large variable name, you can reduce the size of the HTML, CSS, and JavaScript files. This will help you to reduce the Total Blocking Time (TBT) as well as provide a better web vital performance.

There are several online tools available that help you to minify HTML, CSS, and JavaScript files. 

  • To minify HTML you can use an HTML minifier, HTML Compressor, etc.
  • For minifying CSS, CSS Minifier, and YUI Compressor can be used.
  • You can use online JavaScript optimization tools  Closure Compiler, JSCompressor, and so on to minify JavaScript.

Use Cache plugin

Caching is a common way to improve TTFB as well as website performance. Every time a user visits the website, the browser needs to download all data from the backend. This will increase the load time of a webpage.

But when you use a cache plugin, the browser will save a copy of the static content of the website, so that the next time they visit the website, the webpage will load quickly.

RabbitLoader cache plugin

For example, when a user visits our Website RabbitLoader.com, the browser downloads static content like the RabbitLoader logo into the cache. Next time the static contents are loaded from the cache. It will improve the Time to First Byte. 

For your wordPress website, you can use popular cache plugins like WP Rocket, RabbitLoader, W3 total cache, etc.

Pick a fast-loading WordPress Theme

A good theme should not only look good, but it needs to perform well as well. If your webpage is too complicated then automatically it will take time to load the web page. 

So if you want to improve the performance metrics performance then, you need to choose a lightweight fastloading WordPress theme. 

Reduce third-party script

Another reason to increase the Time to First Byte is using too many third-party scripts. This script also has some inside code. So, when a webpage is loading, these codes need to be executed. It will affect the core web vitals metrics. 

Reduce third party scripts

Avoid using too many plugins

WordPress is a highly flexible Content Management System (CMS). The main advantage is you can use multiple plugins to improve the web performance. But sometimes, using too many plugins can be the reason for a slow TTFB.

Each and every plugin has its own features and code. When you are loading a webpage every code needs to be executed properly. So, it will increase the Time to First Byte. 

too many plugins

To increase the website performance it is advised to use fewer plugins. you need to choose only the necessary plugins. 

This can be solved by using RabbitLoader alone. This is an all-in-one performance optimization plugin. That means when you are using RabbitLoader, you don’t need to use other plugins for image optimization, lazy loading, optimization of HTML, CSS, and JavaScript files, and many more.

Not only wordpress, but RabbitLoader is also available for Shopify, Woo-Commerce, PHP, and Laravel websites. 

Conclusion

Here, you have learned about the Time to First Byte (TTFB) and the method to measure it. Also, you came to know the powerful technique to reduce TTFB.

Now it’s your turn. If your website has a high TTFB then you need to apply those mentioned strategies to improve your website’s performance for a better user experience as well as the conversion rate.

3 Best Plugins to Remove Unused CSS from Your WordPress Website and Improve PageSpeed.

Reduce unused CSS (previously remove unused CSS) is one of the most challenging suggestions triggered by Google pagespeed insights when you are auditing your website’s pagespeed performance

What is unused CSS? And how to remove this?

Unused CSS code is any CSS style or rules that you don’t need. Removing this unused CSS rule can improve your website’s page speed performance for a better conversion rate as well as better SEO rankings. 

how to remove unused css

Don’t worry! If you are not from a technical background. Here we will discuss the strategies that will help non-coders like you and thousands of other wordpress website owners to remove unused CSS.  

What is Unused CSS

Unused CSS refers to the stylesheets or style rules that are present in your website’s codebase but not applied to any elements on the webpage.

remove unused css

Unused CSS can occur due to several reasons such as design changes, code updates, or unused stylesheets from the CSS framework or library. This unused CSS makes the file larger than necessary and increases the loading time of your website. 

Type of Unused CSS:

Unused CSS generally falls into two categories. Both categories will affect your pagespeed performance in different ways.

  • Non-Critical CSS:

Non-critical CSS is also known as deferred CSS. It refers to a stylesheet that is not necessary for rendering the visible area or above the fold.

non critical css
  • Dead CSS :

Dead CSS refers to the CSS stylesheets that are no longer applied or used to elements on a website. They are basically remnants from the previous version of your website or maybe a part of testing or temporary usage.

Why Should You Remove Unused CSS File

Unused CSS stylesheets that are not needed to render a page, can be as files or as internal styles for the page contents on a web page. These unused CSS files can have several performance impacts on your website, affecting page loading time as well as user experience. 

  • Unused CSS Increases Page Loading Time:

An unused CSS makes a file larger, which will increase the web page loading time for a user. This is especially critical for the user who is using a slower network connection.

Increase Page Loading Times

Larger CSS files increase the network overhead browser needs to download more data. This can be problematic for your website to attract high traffic.  

  • Unused CSS Impacts on LCP Negatively:

Non-critical CSS also affects the core web vitals, especially on Largest Contentful Paint (LCP), making it lengthier which drags your pagespeed score down.

csimpacts on lcp

LCP is a user experience (UX) metric that indicates the time length taken to load a large content such as images, text blocks, etc. To provide a better user experience it should be less than 2.5 seconds.

  • Delayed Browser Rendering:

When a user visits any website, the browser will download, parse, and process the content of the website before displaying or rendering the webpage content. Hence, whether used or not, the browser will download each CSS file from the server.

Browser rendering process

A delayed render ,means user experience would be far from optimal.

  • Mobile Performance Issue:

Mobile users often have limited resources compared to desktop users. The desktop has a better internet speed than the mobile. It has a better processor and it can be connected to the Internet with the help of cables.

mobile performance issue, remove unused css

Whereas the mobile uses the data network and wireless connections. So, they may experience more issues when downloading and rendering large CSS files.

Check out: Core Web Vitals

How to Remove Unused CSS Manually

Removing the unused CSS file manually is a meticulous process and a piece of coding knowledge is required for this. Here we are mentioning some strategies that you can follow.

  1. Audit Your Code to Remove Unused CSS:

You need to go through the whole HTML file and identify which CSS classes and IDs are not being used. It can be done by searching for a specific class or ID in your HTML code.

audit unused css

This process is very time-consuming. You can also use any browser developer tool such as Chrome DevTool or Firefox Developer Edition. These tools allow you to identify unused CSS rules. The CSS that is solid red indicates the code is unused.

  1. Remove Unused CSS Styles:

Once you have identified the unused CSS codes, remove these codes from your style sheet. Be very careful, not to delete the CSS rule that may be used conditionally.

Style code unused
  1. Test Your Changes:

After removing all unused CSS rules from your stylesheets, you need to test your website once to ensure that no visual or functional issue has arisen.

Tools to Remove Unused CSS 

There are several online tools available to remove unused CSS files to improve web performance. These tools can help you to analyze your CSS stylesheets and extract only the used CSS rules. Here is an overview of the popular tools.

1. PurifyCSS:

PurifyCSS is a free online tool that helps to remove unused CSS from your HTML, JS file, and CSS files. But you need to manually specify which files need to be scanned one by one.

Purify css online,remove unused css

PurifyCSS provides new files with optimized CSS rather than modifying the original files. Since it doesn’t work with any live website, you need to use it in development settings.  

2. UnusedCSS:

UnusedCSS is a user-friendly online tool for removing unused CSS. you just need to plug the website’s URL into UnusedCSS. It will identify and remove unused CSS code and also tell you how much memory you have saved.

unused css

You can try this tool for free but you need to pay for a monthly membership to download the optimized files. 

3. PurgeCSS:

PurgeCSS looks very similar to PurifyCSS which helps you to analyze your webpage content and your CSS files. It removes the unused CSS selector from your CSS and provides a smaller file.  

Purge css

Best Plugins to Remove Unused CSS for WordPress Websites.

The easiest way to remove unused CSS is to use one of the WordPress optimization plugins that can help you remove unused CSS. There are many optimization plugins available that can help you. Here we are mentioning a few popular WordPress plugins.

1. RabbitLoader:

RabbitLoader is an all-in-one performance optimization plugin that you can use to remove unused CSS features. Apart from this RabbitLoader uses various techniques like code optimization, image optimization, a premium CDN, and many more to speed up your website. 

rabbitloader,remove unused css

When you are using RabbitLoader no other plugin is required. The advantage of RabbitLoader over the other optimization tools is the availability of a free version.

2. WP Rocket:

WP Rocket is the most popular WordPress plugin that optimizes your website. It uses various optimization techniques like minification of CSS files and unused JavaScript files, caching, and others. 

WP rocket

But when you are using WP Rocket in your WordPress site you need to install Imagify for image optimization, a premium CDN that is known as RocketCDN, and for lazy loading, you need Rocket lazy loading. It is only available in the WordPress ecosystem.

3. Asset Cleanup:

Asset cleanup is a plugin that helps you to reduce unused CSS to improve the WordPress website’s pagespeed. First, it will fetch the homepage and will show you all CSS files loaded on that page.

asets cleanup, remove unused css

You need to review all loaded files. If you find any files that you don’t need then you need to unload that file.

Conclusion

We hope this article will help you to understand Unused CSS and guide you to remove unused CSS. If you are comfortable with coding then you can remove unused CSS manually. But if you are not a coder like me then you can install any optimization tools that can help you to reduce unused CSS.

If you are a beginner, We suggest you install the all-in-one performance optimization tool RabbitLoader which can help you to optimize your website pagespeed. It will improve the user experience as well as the conversion rate.

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-36

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-40

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-42

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-43

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.



3 Popular ways of compressing images for the modern Web

According to a report, of all the web page traffic, 65% of bandwidth is consumed by images during a load of a typical web page. This makes us realize how important it is to optimize the image size while maintaining its quality. Let’s see what choices we have to serve these images and photos.

One way is to use Lazy loading of images or other resources, which is now well known and used by many site owners. While it can defer loading non-critical resources on the page, the size of resources will still be the same and can break the experience for users on a slow network or can add to bills for metered connection.

Another way is to use an appropriate image format. There are hundreds of image file types and some of them are very popular on the web including JPEG, PNG, GIF, etc. Most of these common image formats are based on technology that is now a few decades old. For example, if we talk about JPEG, which is a very common and most widely used lossy image compression format even in the current era was developed in 1992, 28 years ago. It was adopted by web developers and digital camera manufacturers as a default choice for storing images as the compression algorithm was most suitable for images and photographs where the content has smooth variations of tone and color.

So, what is new?

Way back in 2010, a team at Google came up with another research where they found a better compression can be achieved for lossy images, and in a trial of around 1 million images, they could achieve a savings of 39% without compromising the visual quality. The new format was named WebP and with this promise, they made a tool available for developers to convert images to WebP format and also started supporting the new format in the WebKit engine.

WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index.

Google

Do I need this?

There are high chances you might already be using images on your page. If yes, you can head on to PageSpeed Insights and check the potential savings this can bring under the ‘Opportunities’ section.

images

Impressed. How to achieve this?

Most popular browsers including Google Chrome, Microsoft Edge, Firefox and Opera support this. Besides these, any browser which is based on the WebKit engine has native support for WebP. You can check current browser support here. As there are many browsers that do not support this format, the implementation is not straightforward. However, if you are using RabbitLoader, you may skip the below section as this is taken care of in a very robust way for our users.

Here are some ways you can choose to detect browser compatibility before serving the image. But in all three scenarios, you need to take care of the conversion of the source image to WebP format.

  1. You can read the “Accept” headers sent by browsers to check the support and serve the image accordingly. If image/webp is present in the “Accept” header value sent by the browser to the server, your backend or server-side script can server WebP content. Rabbit Loader uses this method to detect browser support and serve the original image as a fallback for non-supported browsers.
  2. The HTML <picture> element can be used to provide many sources for a single picture. Here you can add WebP format along with JPEG, PNG or other formats. The browser will choose the best match to display the image. If you want to explore this, go through the MDN guide for the picture element.
  3. Once a page is loaded, run a JavaScript from Modernizr or a similar library to detect image formats supported by the browser and then change the URL in the “src” attribute based on the result. This technique is not recommended as it will introduce a significant delay in loading images and may increase CLS because the page is already rendered.

For RabbitLoader users, we have added this as an opt-in feature where images are optimized without site owners putting any extra effort. Once enabled (See: how to enable image conversion to WebP), images used in a webpage can be automatically converted to WebP on the fly to boost page loading time and speed index. If the encoding is not supported by the browser, automatic fallback happens to the original source.

3 Reasons why you need the RabbitLoader?

Irrespective of the nature of a website, be it a blog, gallery, portfolio, video, etc. it’s quality matters when it comes to the user experience. And that is the reason, major search engines have started quantifying the experience of websites and consider this as one of the important signals in search engine ranking.

19 seconds is the average time a mobile web page takes to load on a 3G connection

Google DoubleClick blog

RabbitLoader :-

Now let’s look at website owners. Though they come from different backgrounds and businesses, they link their online presence and good ranking in search results with the prospects of growth. However, not every site owner can be a real hero in making themselves aware, understand the various aspects of optimization, and achieve them. If they do not have an in-house team, sometimes it can be extremely tumultuous for them.

It is well known that many small and medium-scale webmasters heavily rely on a bunch of CMS plugins such as WooCommerce over WordPress to fulfill their needs. And as this is evolving further, we see a huge increase in the number and size of assets sent to users. According to a study of MDN, in the last 8-10 years, the median resource weight has increased 400% for desktop sites and a whopping 700% for mobile sites. While average image size has increased 850%.

These problems gave birth to the Rabbit Loader with three primary goals-

  1. RabbitLoader makes sure that your Google PageSpeed Score is always 100 out of 100. We help our users improve and keep track of web vitals quality signals that are essential to delivering a great web experience.
  2. Use of modern technologies to accelerate site loading which at times are not possible at their end to understand and follow effectively. For content like blogs, articles, knowledge-base, etc we bring the page loading times as low as 20 milliseconds.
  3. Mitigation from common infrastructural attacks and other security essentials.

We invite you to analyze your website and compare the improvements we can bring in to increase the page speed score. Feel free to contact us in case of queries.