How Gzip compression relates to SEO?

Hassan

New member
Joined
Nov 11, 2014
Messages
706
Points
0
Gzip compression is a effective way to speed up your site and save bandwidth. The faster your web loads, the more user friendly it will be and the more the search engines will like it.

Use:
Paste the following code into your .htaccess file
Code:
# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# remove browser bugs
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
 
Newer threads
Replies
9
Views
4,736
Replies
6
Views
3,072
Replies
6
Views
4,646
Recommended threads
Similar threads
Replies
4
Views
2,687

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top