make faster website loading speed

How To Speed Up Website? Make it Fast GTMETRIX, Google

Speeding up an Website is a crucial part of On Page SEO. Actually it is a basic part of website designing or building. And you pretty much know ‘why’.

Important Factor to Rank in Google

Page Speed is an important factor to rank in Google Search. According to SEMRUSH, Google said that if your site is taking 5 seconds to load, that means it is not fast enough.

It is best to say that you need to load your website under 3 seconds. To accomplish that you need to do minimum hardword. Yes, it is easy enough for average internet users.

Check the Current Loading Speed with Online Tools

At first you need to check the current loading speed of your website. For that I can refer you 3 best tools.

speed test on pingdom
google speed test

The last one is from Google itself.

These SEO tools will provide you the website loading speed status in real time. So just check the present loading speed of your website and note them. You should add some crucial details in the note to optimize your website.

Now you have got the complete picture. So, you need to start improving website loading speed.

1. GZIP Compression make website faster

The first task is to enable GZIP Ccompression. It can decrease the page size upto 85 percent.

gzip test giftofspeed

As you can see my website is having a page size of 107.7 kb. But GZIP has compressed it to 17 kb. Which is 84.19% less.

In all your reports you willsee the current GZIP compression status. You will know if the same is enabled or not.

How to enable GZIP compression?

Most of the Web Hosting company enable it by default. So you don’t need to enable it again. If it not, then you need to write some codes. Actually you will copy-paste it.

For Linux Apache Server

If your website is running on Linux Apache Server, then you need to create a simple text file – .htaccess. So, open the notepad application on your computer and copy-paste the below mentioned codes in it. It’s so simple. Then save it with ’.htaccess’ file name.

<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml

# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent

Now you need to upload it to your webserver.

If you can access the control panel of your website, then you need to open the File Manager. Or you can use Filezilla client and log in to your website server.

Then go to your root domain account. There you will find public_html folder under the root. Open the public_html folder and upload the .htaccess file in here. That is it.

public_html folder

For Microsoft Windows IIS Server.

If you website is running on Windows IIS Server, then the upper mentioned method will not work. You need to follow different but same type of method.

After login in to the IIS server you can be able to see a file named as ‘web.config under public_html folder. Just open it for editing and paste the below mentioned codes into it.


<httpCompression directory=”%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files”>
<scheme name=”gzip” dll=”%Windir%\system32\inetsrv\gzip.dll” staticCompressionLevel=”9″ />
<add mimeType=”text/html” enabled=”true” />
<add mimeType=”*/*” enabled=”false” />
<add mimeType=”text/*” enabled=”true” />
<add mimeType=”message/*” enabled=”true” />
<add mimeType=”application/x-javascript” enabled=”true” />
<add mimeType=”application/atom+xml” enabled=”true” />
<add mimeType=”application/xaml+xml” enabled=”true” />
<add mimeType=”*/*” enabled=”false” />

Congratulation!!!You have just enabled the Gzip compression.

2. Enable Browser Cache Control Mechanism to improve page Loading Speed

Cache Control Mechanism or Website Cache is important to make faste website. If you don’t know “What is it” and “how it works” – then let me shed some light on it.

What is Cache Control? How Cache Works?

When we open a website from the browser, it send rquest to the particular webserver to access all the website resources like html, CSS, JavaScript and Images etc integrated with the pages, posts, sidebar and widgets. Your website can be visited hundred or even thousand times a day.

If the website is enabled with cache, the server then serve the whole contents from the RAM (Random Access Memory) which is the cached version stored in the server. And it makes the website very blazing fast.

website cache check

As you can see the screenshot, that this website is activated with the cache control mechanism. It will improve the SEO score of your website by making it fast.

How to enable Cache Control Mechanism?

This is also the same like Gzip. You just need to copy-paste some codes into .htaccess (for Linux Apache Server or web.config (for Windows IIS server).

Enable Cache via .htaccess for Linux Apache

This is also the same like Gzip. You just need to copy-paste some codes into .htaccess (for Linux Apache Server or web.config (for Windows IIS server).

You can put the below set of codes into the .htaccess file and upload the same under public_html folder. I am showing you how to activate the browser Caching here.

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType text/html “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 1 month”
# 1 Month for most static assets
<filesMatch “.(css|jpg|jpeg|png|gif|js|ico)$”>
Header set Cache-Control “max-age=2592000, public”

If it somehow does not work, then try Cache Control copy-pasting the below codes instead of the upper one. Although you can put both the codes in the .htaccess file.

Enable Cache via Web.config for Windows IIS Server

For the Windows IIS server, you need to put these below mentioned codes in the web.config file and upload it. You will place them before </system.webServer> section.

<caching enabled=”true” enableKernelCache=”true”>
<add extension=”.asp” policy=”CacheUntilChange” kernelCachePolicy=”CacheUntilChange” />

Well…it is done. Now you can check if the cache control has been activate or not.

3. Increase Website Loading Speed by Image Compression

You can increase your website loading speed by enabling image compression. Let me tell you how it works.

Images are one of the basic elements of a Website. It makes your website lively. Wihout high-quality images website looks dull. They also keep your visitors engadged.

You may have many high-resolution images in your site. But the size of the images are heavy. It obviously decrease the loading speed of your website. Gtmetrix, Google Page Speed insights also advice you to do the same.

In order to decrease the size of the image, you can resize it, decrease the DPI(Dot Per Inch). This will increase your website loading speed for sure. But They also look dull, because you have now low resolution pictures. So, what to do now?

Loseless Compression of Images

You can use loseless compression methods to compress your images, make them light and make website faster. This way you can retain the quality too.

Use Online Image Compression Tool

Use online image compression tool to compress your images. My hot favorite is It will compress your images without much losing the picture quality. Let me show you.

Open your web browser and go to You will find upload button on there. Upload an image file and wait for some moment to get it automatically compressed.

sample image compressiom

After the compression is done, you can see how much change has been done with it.

automatic image compression

As you can see that my uploaded image was 574.5 kb in size. After uploading it on imagecompressor, the size automatically compressed to 385 kb with 31% reduction in size.

Compress it More

If you are not satisfied with the size, then compress it more. You can see the compression was done without much compromising with the image quality. You have two tabs there to see the effects of before and after the image compression.

compressed final image

Now you can see that I have reduced the quality to 60% against the optimal 89% and decreased the image size to 159 kb with 72% size reduction.

This way you can reduce the image size and make your website faster.


By enabling these methods, you can make your website blazing fast all across the web. And you know that Google loves fast website.

You can tell me how much fast your website is now than the previous version.

Make Faster Website with Us

You can also contact Budget SEO Agency to make your website faster than before. We will speed up your website within a week. It is our guarantee. Otherwise you won’t have to pay, anything.

Leave a Comment

Your email address will not be published. Required fields are marked *


Table of Contents