Enable GZIP Compression in Blogger to speedup your site

OnTeque is the best platform for Mobile Review, Laptop Review, online income tips, Tips & Tricks about Android, windows, Software problems, mac, iOS Apple, YouTube, Facebook, WhatsApp, Instagram, twitter, newer technology.

Content


Here we are going to learn about

* What is gzip compression?

* Is gzip worth compression?

* Should I Enable gzip compression on my website?

* How do I enable gzip compression on my server?

GZIP Compression Overview 


GZIP is type of compression, which compresses huge sized html into small sized html so that browser can fetch your site details fast and takes a few seconds to open your site.

Enable GZIP Compression in Blogger to speedup your site
Enable GZIP Compression in Blogger to speedup your site

Enable GZIP Compression


Steps to enable GZIP Compression in Blogger

Step 1: Go to blogger dashboard.

Step 2: Go to theme.

Step 3: Click on three dots.

Step 4: Click Edit HTML.

Step 5: Find <!DOCTYPE html> in your html code. Probably present in 2 line of html.

Step 6: Copy the code below
<?php if (substr_ count($_SERVER['HTTPS_ACCEPT_ENCODING'],'gzip')) ob_start("ob_gzhandler");else ob_ start();?>
Step 7: Paste this code just above this <!DOCTYPE html>.

Step 8: Now save your theme.

Step 9: Check whether GZIP is compression is enabled or not on any website online.


Previous Post Next Post