Minify PHP: Should you do it? The Helpful Tools For it? 

You can easily minify PHP, but is there any point in doing this to optimize your website’s PageSpeed performance?

Minifying PHP can’t improve the PageSpeed performance of your website, however, it can typically increase the code security. When you are minifying or uglifying the PHP code, no one can steal your idea. 

Minify Php

Here, we will cover everything about PHP minification, including its definition, helpful tools to minify PHP and best practices. Let’s see RabbitLoader’s contribution to this. 

What Is Minification?

Before diving into PHP minification, first, you need to understand what minification is and how it works. 

Minification is a technical method for removing unnecessary characters, white spaces, line breaks, and comments from a code without changing its functionality. The ultimate goal of applying the minification method is to reduce the coding file size, automatically reducing the total page file size. 

The coding files that can be minified:

  • HTML file
  • CSS file
  • Any scripting language like JavaScript file
  • PHP file

HTML minification:

Let’s understand with an HTML code example. In the code below, you can see that many unnecessary comments, white spaces, and line breaks are used to increase the code’s readability.  However, this affects the PageSpeed performance by increasing the total page size.  


<html lang="en-US">


    <meta charset="utf-8" />

    <meta name="viewport" content="width=device-width" />

    <!--adding a title for minifying HTML-->

    <title>My minified files </title>



      <!--adding an image file in HTML file-->

    <img src="minify html.png" alt="My test image" />



After minifying the HTML file, the minified HTML files will look like the below:

<html lang="en-US"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width"><title>My minified files</title></head><body><img src="minify html.png" alt="My test image"></body></html>

CSS Minification: 

Let’s see how it works for CSS files with an example. without minification, The CSS code looks like the below:


body {

  background-color: red;


h1 {

  color: lightblue;

  text-align: left;


p {

  font-family: verdana;

  font-size: 10px;


After minification:


Explaining PHP Minification With An Example

PHP is an open-source server-side scripting language used in web development to create dynamic web pages. PHP minification involves deleting unnecessary comments, link breaks, and white space from the PHP code that are added by a developer to make the code readable. This would reduce the PHP file size. 

For example: before minification, the code looks like the below. 

// Function used for assigning new 

// value to $string variable and  

// printing it 

function print_string( $string ) { 

    $string = "Example for PHP code"."\n"; 

    // Print $string variable 



// Driver code 

$string = "PHP minification"."\n"; 




After applying the minification method the PHP code looks:

<?php function print_string($string){$string="Example for PHP code"."\\n";print($string);}$string="PHP minification"."\\n";print_string($string);print($string); ?> 

The Helpful Tools To Minify PHP

Manually minifying PHP can be daunting especially when you have a large size of the website. The best practice is to use an online tool to minify your PHP code. Several minification tools are available to minify your PHP code. Let’s talk about the most popular PHP minification tools.

  • PHP Beautifier
Php Minifier

PHP Beautifier is an online tool designed to minify the PHP file and reduce its total size. To use it, paste your PHP code and click on Beautify. It needs some time to process and then send you the minified PHP code. 

  • PHP Minifier/ compressor 
Php Compressor

PHP minifier/ compressor is an alternative online tool for PHP minification. It will remove white spaces and comments from your PHP code and reduce the file size. To do so, paste the PHP code into the PHP minifier/ compressor and click on the Minify button. 

How to Minify PHP Manually

When you are minifying the PHP file manually, there are some factors you need to keep in mind to prevent the error. 

  • Before starting to minify your PHP, you must take a backup of your original code.
  • When the code is in the development process, don’t try to minimize this.
  • When you are minifying PHP by any automated tool, make sure the tool is updated.

PHP Minification With RabbitLoader                                       

When it comes to web optimization, it requires many strategies that require technical knowledge. Total page size reduction is one of the most effective web optimization techniques for improving your website’s PageSpeed.

When manual techniques are daunting for you, RabbitLoader makes your job easier. When you use RabbitLoader on your website, it will automatically reduce the total page size by minifying your HTML, CSS, and JavaScript file size, improving the PageSpeed performance of your website.

Therefore, if you are serious about improving your PageSpeed performance, don’t waste your time installing different optimization plugins when RabbitLoader is available for WordPress, Shopify, PHP, and Laravel-based websites.    


Get The Best PageSpeed Score

For Your WordPress Website

All in One Optimization Plugin
No Coding Knowledge Required

How To Optimize Resource Loading To Increase Your Conversion Rate By 10% 

Have you ever tried to improve your conversion rate by optimizing your website’s resource loading? Although it’s not the first thing that comes to mind when you think of conversion rate optimization, optimizing resource loading can significantly impact the conversion rate. 

Resource loading banner

To improve resource loading, you must optimize your image, HTML, CSS, and JavaScript files. This can impact not only your conversion rate but also your SEO rankings.   

What Is Resource Loading?

Resource loading is the process of parsing and downloading resources to a user’s browser from the hosting server. A website may load resources such as scripts, stylesheets, images, and HTML files. The webpage is subsequently rendered for the user using these resources.


Get The Best PageSpeed Score

For Your WordPress Website

All in One Optimization Plugin
No Coding Knowledge Required

Let’s understand in a simple way. When a user requests your web page’s content, the browser sends an HTTP request to the hosting server, which sends back the HTML file along with the other website’s resources. 

The browser loads and parses the resources. Once the resources are downloaded, the browser can display your web page to the end user. 

The Importance of Optimizing Resource Loading

Before diving into the direct solution, the first thing that may come to your mind that why we need to optimize your resource loading. Here we will discuss the significance of optimizing the resource loading on your website which includes:

  • Boost the PageSpeed.
  • Increase the Conversion Rate.
  • Improve the SEO Rankings.

Boost Your PageSpeed and Enhance the User Experience

According to the website, “Stress levels increase by 33% when content takes more than 6 seconds to load, the equivalent of a math test or watching a horror movie”. Web optimization is the only way to mitigate this problem, enhancing your user experience.

User experience

Users would engage in your fast-loading website, increasing the average on-page time by reducing the bounce rate. 

Increase the Conversion Rate

Conversion rate refers to the percentage of visitors who complete the desired action, such as making an online payment, submitting an online form, purchasing from an e-commerce platform, or taking another action, and converting to potential leads. 

conversion rates

The conversion rate is negatively correlated with the bounce rate. That means if the bounce rate decreases, the conversion rate will automatically increase. Below we will show you 3 case studies of increasing the conversion rate by improving the loading time.  

Improve the SEO rankings

Seo ranking

Page speed is an important factor in the Google ranking algorithm. Google always prioritizes a fast-loading website. Thus, in order to increase organic traffic, you need to improve your website’s PageSpeed performance by optimizing the resource loading.  

3 case studies on the impact of Optimizing Resource Loading on increasing the Conversion Rate

As per the case study here, we listed 3 cases that show you the improvement of conversion rate or sales just by increasing the page loading time.

  1. Vodafone:

Vodafone is the most popular company, facing a problem with the slow initial loading time and it affects the user experience. Therefore, by increasing the loading time by 31%, Vodafone increases the conversion rate by 5%.  

  1. Renault:

Renault is a French multinational automobile company. To improve the core web vitals performance, Renault optimized the PageSpeed performance. Consequently, this website’s conversion rate increased by 13%.

  1. Carpe:

Carpe is popular for selling skincare products. Shopify collaborated with Carpe to optimize website performance. By increasing the loading time by 52%, they were able to increase the conversion rate by 5 % and revenue by 15%.

How To Optimize The Resource Loading Using RabbitLoader?

At this point, you are quite knowledgeable about the importance of optimizing the resource loading. But how to optimize the resource loading?

Before you start to panic, we will delve into the most effective optimization technique for optimizing resource loading to boost the conversion rate.  

First, you need to understand the website resources that can be optimized.

Type of resources

Every website has a set of fundamental resources that the browser needs to load to render the web pages which include:

  • Image files
  • HTML files
  • CSS stylesheets
  • JavaScript files.

How to Optimize the Image?

Images are the most crucial resource for a website as they make it more attractive. Adding a lot of images is beneficial especially when you have an e-commerce site . However, high-resolution images can affect your initial loading time.  

To mitigate this issue, you need to optimize your image file by implementing the below strategies.

Compress Image Files

JPEG and PNG images can increase the size of your image file. Converting them into a next-gen format, such as modern WebP and AVIF, can decrease the size of the image file without reducing its original quality. This process is known as lossless compression.

image optimization

RabbitLoader converts all images into WebP and AVIF format with it’s inbuilt bulk image optimization feature. So, by using RabbitLoader, you can losslessly compress your images and optimize the resource loading.

Add Lazy Loading For Above-The-Fold Images

Above-the-fold images refer to the images you can see during the initial loading time. By adding lazy loading to the website, you tell the browser to load only the images that are available above the fold, and the remaining images will load later.

below the fold

RabbitLoader adds a lazy load to improve the loading time especially the performance of the First Contentful Paint (FCP). 

Add Link Pre-Load For LCP Image

The Largest Contentful Paint (LCP) image is known as the hero image. When you apply lazy loading for above-the-fold images, it loads all images available above the fold. To speed up your website, you need to add a link pre-load for the hero image.

preload largest contentful paint

Assume you have a total of 5 images on your webpage of which 3 are the above-the-fold images. Among these 3 images, 1 must be the hero image. By adding a link pre-load in the hero images, you can improve the LCP time.

When you are using RabbitLoader for the above two optimization techniques, you don’t need to add pre-load manually. RabbitLoader will take care of this.

How To Optimize The HTML File?

HTML code creates your website’s content. The browser first parses and loads this HTML file, so HTML file optimization is essential to increase the loading time. To do so, you need to minify and compress the HTML code.

  • HTML Minification

To make the HTML code more readable, many developers use line breaks, comments, and meaningful variable names. These unnecessary characters make the HTML file larger.

html minify

By minifying the HTML file, you can significantly improve the initial server response time. When you are optimizing your page speed performance with RabbitLoader, it will minify your HTML file.

Note: To improve the loading time, RabbitLoader will minify the CSS and JavaScript files as well. 

  • Compress The HTML File

By compressing the HTML file, you can optimize your website’s resource loading time. Compression of HTML files reduces code redundancy by replacing the same string with the pointer. 

RabbitLoader has its own GZIP compressor, which reduces the HTML file size and improves page speed performance.

How To Optimize CSS Files?

Without CSS stylesheets, your website may look messy. CSS stylesheets make your webpage more presentable. When you are optimizing your resource files, you can’t ignore CSS files. Let’s see the technique for optimizing your webpage’s resources.

  • Generate Critical CSS

RabbitLoader successfully generates a critical CSS file for your above-the-fold content and improves the initial server response time. Learn more. 

  • Remove Unused CSS

If you frequently audit your website’s page speed, you are quite familiar with this warning: Remove unused CSS. Unused CSS refers to styles or rules that are not utilized on the website but are present in the CSS file and increase its size.

unused css

By removing these unused CSS styles or rules, you can reduce the CSS file size and improve the core web vitals performance especially in LCP, and FCP.

How To Optimize Javascript Files?

Many developers use script languages, mostly JavaScript, to make their websites interactive. These JavaScript files are often known as render-blocking resources because they block the main thread and increase the Total Blocking Time.

  • Defer JavaScript File
Deffer javascript file

The only way to mitigate this issue is by deferring the JavaScript files that are not required for the initial loading, such as alert messages. When you use RabbiLoader to optimize the other resource loading, it will defer your JavaScript file as well.


Optimizing your resource loading can dramatically increase your user experience and conversion rate. If your conversion rate is low, install RabbitLoader and see how RabbitLoader can speed up your website and help[ you achieve a desirable conversion rate.  


Get The Best PageSpeed Score

For Your WordPress Website

All in One Optimization Plugin
No Coding Knowledge Required

What Is First Contentful Paint And How To Optimize It To Pass Core Web Vitals?

Google released First Contentful Paint (FCP) to assess a web page’s initial loading time. To improve your website’s FCP performance, you can either implement optimization strategies like using browser & CDN caching, reducing the HTML, CSS, and JavaScript file size, and removing the unused CSS, or you can install the RabbitLoader performance optimization tool on your website if you are looking for an effortless solution.

First contentful paint

Although First Contentful Paint is not a core web vitals metric, if you need to improve your user experience and pass the Core Web Vitals, you can’t neglect FCP. 

Let’s discuss what you need to know about FCP and explore helpful strategies for optimizing it to pass the Core Web Vitals and boost your Google PageSpeed Insights score of your website. 

What Is the First Contentful Paint?

First Contentful Paint quantifies the time from when a user visits a web page to when the web page’s first content is displayed on the browser. This content can include any images (including the logo and background images), text, any <svg> elements, or non-white canvas.

FCP Matix

FCP is a crucial metric for your user experience & PageSpeed score. When visiting a web page for the first time, if users spot a blank page, they might get confused about whether the website is loading or not. They will likely leave the page or frantically try to reload it.

Difference Between LCP & FCP

As a competent web developer or website owner, it’s essential to understand how the First Contentful Paint (FCP) differs from the Largest Contentful Paint (LCP).    


Get The Best PageSpeed Score

For Your WordPress Website

All in One Optimization Plugin
No Coding Knowledge Required

Where First Contentful Paint is used to measure the time it requires to display a web page’s first piece of content, Largest Contentful Paint calculates the time it takes to display the largest element of a web page. This largest element can be a hero image or a text block. 

What Is A Good FCP Time?

According to Google, a website’s FCP time needs to be less than 1.8 seconds to pass the core web vitals assessment. If the FCP score is between 1.8 seconds and 3.0 seconds, Google PageSpeed Insights suggests improving the FCP performance to provide a better user experience.

First contentful paint- FCP

Finally, if the FCP time exceeds 3.0 seconds, your website fails the core web vitals test. To be in a green zone, you need to optimize your FCP time to pass the PageSpeed test.   

The Importance Of Optimizing FCP

Before diving into the solution, let’s explore the importance of optimizing FCP performance. 

  • Lower Bounce Rate = Better User Experience

By optimizing your website’s FCP performance, you can significantly increase your user experience. Since FCP makes the first impression on your website, users would be more likely to engage with a well-functioning website. Which results in a lower bounce rate. 

  • Improve The Conversion Rate

The conversion rate determines the percentage of visitors who can successfully finish an action on your website and become a lead or a buyer.  A lower bounce rate is much more likely to increase your conversion rate by engaging the visitors with the website’s content.  

  • Better Organic Rankings

Google always prioritizes the user experience. Therefore, optimizing your FCP time can significantly improve your PageSpeed score which is a strong positive signal for your Google organic rankings.

The Most Common Reasons For Poor FCP Performance 

While several factors can negatively impact the First Contentful Paint (FCP). Let’s focus on the most common reasons for poor FCP performance.   

  • A slow initial server response time

  • Render-blocking JavaScript and CSS files

  • Unused CSS

  • An excessive DOM size 

  • An unoptimized image

How To Optimize Your Website’s FCP?

Let’s explore the optimization techniques to mitigate each of the above mentioned issues that are impacting the FCP to improve the First Contentful Paint time of your website. 

Use Browser & CDN Caching

Using a browser and CDN caching mechanism can significantly reduce the initial server response time and improve the Time to First Byte (TTFB) performance. 

However, adding a browser cache is not enough for web optimization; you need to set efficient caching policies to provide a better user experience and to make sure you are not serving stale content to your visitors.

Manually implementing the browser cache with an efficient caching policy requires extensive technical knowledge. Read our server static assets with an efficient cache policy blog if you wish to explore more on how to do it yourself.  

If you do not wish to go into the nitty gritty of it & just need the issue to be solved, you can install a performance optimization tool like RabbitLoader to implement the browser cache with an efficient caching policy

RabbitLoader also distributes the cacheable content between 300+ edge servers worldwide to reduce the latency.

Reduce The HTML, CSS, And JavaScript File Size

When it comes to FCP optimization, reducing HTML, CSS, and JavaScript file size is one of the most effective strategies to improve the FCP time. There are two ways to reduce these resources’ file size: minification & compression. 

While minification removes unnecessary comments, line breaks, and white space from the resource files, by compressing the method, you can reduce the redundancy of the string variable in the HTML, CSS, and JavaScript files. 

When you use RabbitLoader, you don’t need to put any extra effort into the minification and compression process, RabbitLoader takes care of it.

Reduce unused CSS

The term Unused CSS indicates CSS rules that are not utilized in the current web page design but consume space in your CSS stylesheets. This unused CSS would unnecessarily increase your website’s page size.

Reduce Unused CSS

By removing this unused CSS, you can improve the core web vitals performance, especially the FCP and LCP performance. If you want to remove the unused CSS manually without having proper coding knowledge, it can be risky. One mistake can harm the whole web page’s design.

Therefore, using RabbitLoader would be the safest option if you are not versed in CSS  

Optimize Your First Contentful Paint With RabbitLoader

Web optimization requires a lot of effort and technical knowledge. Thus, many web developers end up using a lot of different WordPress plugins to improve PageSpeed performance. However, using ten different plugins usually harms PageSpeed performance as these plugins conflict with each other.

When you use RabbitLoader, it will implement all the optimization techniques needed to pass the core web vitals and improve your PageSpeed score. Therefore, you don’t need to use other performance optimization plugins, avoiding plugin conflicts and improving PageSpeed performance. 

If you want to seriously improve your website’s PageSpeed performance to provide a seamless user experience, you must install RabbitLoader to improve the First Contentful Paint performance along with the other performance metrics and boost your PageSpeed performance.    


Get The Best PageSpeed Score

For Your WordPress Website

All in One Optimization Plugin
No Coding Knowledge Required

What is Cumulative Layout Shift and the Effective Ways to Optimize it to Improve the PageSpeed Score? 

Google developed the Cumulative Layout Shift metric to measure a webpage’s visual stability. In order to optimize your website’s CLS performance, you can implement strategies such as specifying the image size and optimize the web fonts. 

You can do this using your coding skills, or for an effortless and non-coding solution,you can use RabbitLoader. 

Cumulativa Layout Shift

Have you ever tried to click a button upon loading a website only to see the elements on the page shift around and you end up clicking the wrong button?   

This is caused by a layout shift & this issue seriously harms the user experience of your website. Prioritizing user experience Google developed CLS, a metric to analyze the total layout shift occurring during loading the page and express it in terms of a numeric value.

You can gauge the importance of CLS based on its recognition as one of the 3 pillars of Core Web Vitals. Therefore to achieve a good PageSpeed score, you must optimize your CLS performance.

What is Cumulative Layout Shift?

Cumulative Layout Shift (CLS) is one of the pillar core web vitals metrics that Google developed to measure a web page’s visual stability during the web page rendering. This CLS metric is used to calculate how the visible elements move within the visible area. 


Imagine this scenario: You want to buy a dress from an online store. You visit the product page of your favorite fashion retailer, and the page begins loading. When you are going to click the buy button, an ad is loaded on the top of the page, and the buy button shifts down. Therefore, you end up clicking the wrong button. This issue is known as an unexpected layout shift, and CLS measures this unexpected layout shift. 

How To Measure Cumulative Layout Shift?

Cumulative Layout Shift is calculated the movement of the unshifted elements based on two factors:

  • Impact Fraction

  • Distance Fraction

What Is Impact Fraction?

Impact fraction calculates how an unstable element impacts the above-the-fold area between two frames. Basically, by calculating the impact fraction you can determine how much area the content occupies above the fold before and after the shifting.  

You can easily calculate the impact fraction by dividing the total viewport area by the area of the layout shift. 

What Is Distance Fraction? 

On the other hand, the distance fraction quantifies the distance the unstable element moved relative to the above the fold. It can be calculated by dividing the dimension of the view-port area by how an unstable element moves in the vertical or horizontal distance. 

By multiplying these two factors: impact fraction and distance fraction you can easily get the Cumulative Layout Shift. 

Cumulative Layout Shift

Let’s understand with an example. If the impact fraction of a web page is 0.60 and the distance fraction of the web page is 0.30, then the Cumulative Shift Layout of that web page is 0.18 (0.60 * 0.30). 

Also, you can measure the CLS in any online pageSpeed analyzing tools like  Google PageSpeed Insights, GTmetrix, and others. 

What is an ideal CLS score?

According to Google, if the CLS score is less than 0.1, it is categorized as a good CLS score. However, if the score is between 0.1 to 0.25, it is considered a moderate CLS score and Google PageSpeed Insights suggests you improve the score for better PageSpeed.

Finally, a score of more than 0.25 indicates that your website fails the PageSpeed performance test. 

CLS score Remarks Color
Less than 0.1GoodGreen 
0.1 to 0.25Needs to improve Orange 
More than 0.25PoorRed 

What are the effective strategies to improve CLS score?

Optimizing Cumulative Layout Shift requires a lot of technical effort. If you want to avoid tiring an expert to do the optimization, the best way to optimize your website for CLS would be to install RabbitLoader.

Let’s see how you can optimize your CLS performance without using any plugins. 

Specify The Size Attribute Of The Images

The best practice is to specify the size attributes for your images, like height and width, of the images so that the modern browser can reserve space before loading them. By doing this, you can prevent the image shifting during the page loading time.    

Size Attribute Of  Images

You can specify the height and width attribute of the image file in the <img> tag in the HTML file. Below is an example,


<img src= “product.jpeg” width=”400”  height=”550”>

Optimize Web Fonts

In order to improve the visual appearance, we add customized fonts to our website, but  it usually harms your website’s PageSpeed performance. You can optimize your web fonts in more than one way. 

Link Preload
  1. You can add a <link rel=preload> attribute in your HTML file. To learn the details about it, go through our previous blog on link preload.
  1. Web-safe fonts are usually pre-installed in the modern browser. Therefore, you can use web-safe fonts to prevent the layout shifting problem in your website. To learn about web-safe fonts, visit our best Google fonts blog. 

Reserve AD Space

Adding ads and promotions to your website can be one of the reasons behind your poor CLS performance. Just like images, you need to specify the height and width to reserve space for the ads.

fix the ad size

For this, you need to add the size and width in the CSS stylesheets. Here’s an example,


<div id="ad-slot" style="min-width: 300px; min-height: 250px;"></div>

Optimize Your CLS Performance With RabbitLoader

As you can see, optimizing CLS manually requires a little bit of technical knowledge. If you are not from a coding background, it can be tough on you. 

RabbitLoader is able to improve the CLS score by reducing impact fraction and distance fraction,, that too without any coding. 

When you optimize your CLS with RabbitLoader, your page will be visually stable. Let’s look at an example.

An e-commerce website,, was struggling with a poor CLS score, which harmed the Google PageSpeed Insights score. After optimizing the website with RabbitLoader, the CLS score became 0 from 0.07 for the mobile version and 0.002 from 0.205 for the desktop version. Optimizing CLS along with other performance metrics improved the PageSpeed score for both versions. For detailed information, please check our case study on

If you are also trying to optimize your CLS score to improve your PageSpeed & Core Web Vitals, you must install RabbitLoader plugin on your WordPress website. RabbitLoader will not only improve the CLS performance but it would boost other performance metrics and enhance your user PageSpeed & pass the Core Web Vitals. 


Get The Best PageSpeed Score

For Your WordPress Website

All in One Optimization Plugin
No Coding Knowledge Required

What Is The First Input Delay And 3 Ways To Optimize It To Pass The Core Web Vitals Assessment?

First Input delay (FID) is an essential performance metric that Google uses to measure a website’s PageSpeed performance. 

When it comes to a website’s success, delivering a fast-loading website is crucial. But how do you determine if your website’s PageSpeed performance is fast or not? Here’s the First Input Delay that comes into the picture along with the other performance metrics. 

First input Delay

Let’s understand about the First Input Delay (FID) metric and explore the powerful strategies to optimize the FID in order to improve the Google PageSpeed score. 

Note: Google developed and launched a new metric Interaction to Next Paint (INP) to replace the FID metric in March 2024.  

What Is The First Input Delay?

Google developed the First Input Delay to measure a web page’s responsiveness. In simple words, the First Input Delay (FID) calculates the span of time from when a visitor first interacts with the web page to when the web page starts giving the response. This is also known as input latency.

First Input Delay

Let’s understand with an example. Assume you click on a link after opening a web page. FID measures the time between clicking that link and the time when the browser starts responding to it. This First Input Delay is measured in milliseconds (ms).  

The Difference Between FID And INP

To better understand PageSpeed performance, Google replaced the First input Delay with a new metric: Interaction to Next paint (INP). But how does INP differ from the FID?

Let’s explore how the First Input Delay (FID) differs from the Interaction to Next Paint (INP). 

First Input Delay Interaction to Next Paint 
FID is used to measure only the initial delay between the browser response and the user’s first interaction. INP provides a comprehensive view of the entire website’s interaction with the user. 
FID doesn’t measure the time a browser takes to load interactive scripts after the initial page loading.Interaction measures this time too.

The Top Helpful Tools To Measure The First Input Delay

Here, we will see the most helpful tools to measure the First Input Delay (FID) of your website.

  • Google PageSpeed Insights

Google developed an online tool, Google PageSpeed Insights to analyze the performance of core web vitals and provide a PageSpeed score based on a few key performance metrics.

To measure the First input Delay (FID), you need to enter your website’s URL and click on the analyze button and you would see the FID along with various other important metrics.

Along with your FID score, PageSpeed insight would also suggest improvements to get your websites a good FID value & pass the Core Web Vitals.

  • GTmetrix

GTmetrix is the best alternative tool to measure the performance of the core web vitals. This online tool allows you to customize your test location ,device, network connection, and browser.

What Is A Good FID Time?

Google sets threshold values for each performance metric to categorize performance. Let’s examine the threshold values of FID metrics. 

  • If the FID value is less than 100 ms, Google considers this a good FID time and marks it in green.
  • A FID time between 100 ms and 300 ms indicates that it needs to be reduced to pass the core web vitals test. Google marks it in orange.
  • If the FID time exceeds 300 ms, your website failed the core web vitals assessment, and Google will mark it in red. 

How To Improve FID Performance?

At this point, you are aware of a good FID time. If your website’s FID time is more than 100 ms, you need to optimize your First Input Delay to achieve a good PageSpeed score and enhance the user experience by improving your website’s performance.  

Let’s see how you can improve the FID performance using your technical skills only, it might take a little time & needs some technical skills. We will also see how you can do this within a few minutes just by installing RabbitLoader.

Minimize main thread work /Break up the long tasks

Breaking up the JavaScript code is one of the most effective ways to improve your website’s FID time. In such cases, you need to identify the long tasks that increase the FID time by blocking the main thread. Then you must split them into smaller tasks. It can minimize your main thread also. 


By allowing multi-threading, which means that if the main thread is busy with critical tasks, some non critical tasks could be moved to the web workers. This would need a very specialized set of skills to be able to implement it on your website.

Check more: Minimize main thread work

Whereas, RabbitLoader implements multi-threading and optimizes your website for the perfect FID value without needing you to write a single line of code.

Compressing and minifying CSS and JavaScript files

The loading speed of a website can also depend on the page size. In your CSS and JavaScript file, many characters such as line breaks, and comments are present which unnecessarily increases the page size for the browser, slowing down the loading speed.

js css minify

Compression and minification are the best ways to mitigate this issue. Manually removing these unnecessary characters from your CSS and JavaScript file might need a lot of time and effort especially if the website has a lot of CSS codes.

When using RabbitLoader, you don’t need to put any extra for this. Along with the other optimization techniques, RabbitLoader also takes care of this. For more details on resource minification, please checkout our Minify Resources blog. 

Defer the JavaScript functions 

During the page rendering, in general, the browser loads every resource. This would increase the loading time. You can improve the loading time by deferring the JavaScript functions which are not required for the initial loading time. This can be achieved by adding a syntax like the below example,

Async vs Defer
Syntax: <script src="" defer></script>  

If you are technically sound, you can easily defer your non-critical JavaScript functions, but if you are not from a technical background, the best way to optimize FID is to install RabbitLoader.

Final Thoughts  

Even though Google replaced this FID with INP, Google PageSpeed still shows the FID metric on its tests. When you work on improving FID, your INP time will also be improved. So, if you are struggling with a poor FID score, you need to implement the above strategies. 

Whether you do it manually or using an optimization tool like RabbitLoader it is up to you.If you want an effortless solution, optimize your FID performance with RabbitLoader. 


Get The Best PageSpeed Score

For Your WordPress Website

All in One Optimization Plugin
No Coding Knowledge Required

5 Remarkably simple reasons why your WordPress website is slow

WordPress is simply software that you use to construct your own website or blog and post it on the web. It is also called Content Management System or CMS which was created in 2003 and since then it has become one of the most popular website publishing programs in the world. WordPress powers 30% of the internet.

The magnificence of WordPress is that you’re ready to browse eleven thousand unique subjects which just format designs that decide the look and style of your site. One can tweak all of the text including font and font sizes. Also one can create buttons or you can upload images and videos and much more. One can choose from over 55,000 plugins and widgets to help optimize the functionality of your website.

wordpress website slow

What is Google PageSpeed?

A website’s performance can be evaluated with Google PageSpeed, a set of tools by Google Inc. PageSpeed Insights (PSI) provides information about how a page performs on various mobile and desktop devices and what can be done to improve it.

A page’s PSI includes lab and field data. Because it is collected in a controlled environment, lab data is useful for troubleshooting performance issues. Real-world bottlenecks may not be captured by lab data. Field data can be used to capture actual, real-world user experience, but it is limited in terms of metrics.

Why is Google PageSpeed Important?

A fast WordPress site provides a much better user experience because, well, it’s more efficient. Over a quarter of users will click away and choose a different search result if a page takes more than 3 seconds to load, according to a recent Kissmetrics infographic. The same is true for mobile users. The survey also found that 73% of users reported having difficulty with site speed.

The WordPress site speed also has an impact on conversion rates. Google has added Page Experience to its ranking signals to emphasize the importance of user experience. In-Page Experience signals, real users’ experiences are analyzed to judge the quality of web pages. It also measures your WordPress site’s core web vital.

Are you worried about your slow WordPress speed? Peek to this article to find out your cause and read till the end for the bonus solution.

Google page speed

Maintain The Size of The Images:


There is a certain maximum pixel size for the images respective of your chosen WordPress theme for your website. If it exceeds then it will take more time to load and can cause your slow WordPress website and reduce site performance. Sometimes the pictures taken from mobiles are larger than the maximum size, which increases loading time.


  • Use the exact dimension of the images as per your WordPress theme.
  • Compress the images manually before uploading.
  • Resize your images using photo editing tools before uploading the images.
  • Use JPEG instead of PNG.
  • It will be best if you use WebP.

Rabbit loader has all of the image optimization stack included.

Use a Content Delivery Network:

Content Delivery Network


It is one of the best methods of providing a uniform user experience to users wherever they are located around the globe using a Content Delivery Network (CDN). Visiting a WordPress website means they must download all of the website data. This process does not affect the WordPress speed if the people are from the same region. But it increases concerning the distance from the source of the website despite the speed of the internet.


If you use Content Delivery Network it will store your website’s assets in different data centers around the globe. So, it doesn’t affect your WordPress speed of image loading time or WordPress site speed and all the data can be downloaded faster from whichever global data center is nearest to them.

There are several plugins available for this purpose like W3 Total Cache, WP rocket. However, with W3 Total Cache, you have to buy the CDN services separately and configure them with your account.

If you choose to use RabbitLoader, you get an integrated premium CDN with 300+ points of presence, more than any other WP plugins available in this category. 

Enable a Fast-Hosting Platform:


If all those ways to increase your website loading speed in WordPress websites are done but your website is still suffering from slow loading speed, then there is a major problem which is slow WordPress hosting. All the above methods are just band-aids for your problem but if the performance of the hosting provider is not up to the mark, then your wound will never heal. It can be the main reason for your slow WordPress site.


  • Choose a premium high-quality WordPress hosting platform for your website.
  • If you have a premium WordPress hosting provider then your website and image loading speed will be very fast. 
  • If you are using free services of any WordPress hosting platform try their paid services which may give you a better experience or a faster website load time.

Use Lazy Loading for Your Website Content:

lazy loading for wordpress website,wordpress slow


For any website, it is common that one page contains several images and videos, especially for e-commerce websites or maybe even for blogging websites. All these images cause slowing down both your website and image loading speed. Because when one tries to open your website, then all the images will load instantly even though the visitor only needs the images on the front fold, not the images below the front fold. This will increase the load time.


If you use lazy loading you can choose to only load visible images instead of loading all images all at once which will speed up your image loading speed. Then only the images in the front load will load instantly as the website loads. But the other images will load when the browser detects that the visitor will need those images. The process is called Lazy Load.

Use Proper Plugins:


There are various ways that plugins can slow down your website. Poorly developed plugins, outdated plugins, and surplus or duplicate plugins can all pose a problem in terms of making a website load slowly. Sometimes the caching plugin is most responsible.

Usually, speed problems are not related to the number of plugins. The exception to this rule is if you have a lot of plugins that do the same thing or are not being used. In such cases, you should remove the surplus plugins. In general, plugins influence page speed due to their quality and functionality.


  • It’s smart to run a Google PageSpeed test both when introducing any plugin even for the caching plugin. This will show the effect of the plugin on your site’s speed, so you can settle on an educated choice with regards to whether the plugin’s usefulness merits any site easing back. Some plugins may take a few minutes to warm up and come to effect, so it’s advisable to check the performance after 15-30 minutes of plugin installation.
  • You can likewise check how your website speed is impacted by your current plugins by deactivating everyone thus in the ‘plugins’ segment of your WordPress site back-end and afterward running a Google PageSpeed Insights test.
  • You ought to likewise make a point to update plugins as and when new programming opens up. Updates are constantly featured on your WordPress dashboard – just check consistently and click on any update messages to activate them and always check on the caching plugin.


RabbitLoader added an opt-in feature where images are optimized without site owners putting any extra effort. This feature automatically converts your website’s images to WebP. An automatic fallback to the source happens if the encoding cannot be supported by the browser.

Rabbit Loader assists with saving your server’s data transmission or CDN costs by guaranteeing that a few assets are not downloaded until the client looks to where it is required.

Rabbit Loader provides you the largest number of CDN points. Also it is one of the fastest hosting platforms among the available plugins. In one word it will completely enhance your WordPress performance and page load time.