| | #1 |
| Reji Kumar R Join Date: 2013 Location: Cochin, Kerala
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
|
Any one can suggest best plugin for gzip compression with wordpress blog. As I want to apply to my website Rejionline.net - Technology blog and PHP freelance seems very slow at first loading....
|
| | |
| |
| | #2 |
| Warrior Member Join Date: 2013 Location: Cape Town, South Africa
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
Do you host the pages yourself or via shared hosting provider? Generally, the server will do GZIP compression automatically? If you can update the server yourself I recommend getting Google Pagespeed which you can recompile into Nginx. If you host using Apache, I am sure there is a port you can just import. This makes your pages fly. |
| |
| | #3 |
| ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ War Room Member Join Date: 2008 Location: Texas
Posts: 2,138
Thanks: 243
Thanked 453 Times in 382 Posts
Blog Entries: 3 |
It's done on the server, not by wordpress. Add the following to your .htaccess file before # BEGIN WordPress Code: # compress text, html, css, xml, javascript: 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 |
|
Robin | |
| |
| | #4 | |
| Reji Kumar R Join Date: 2013 Location: Cochin, Kerala
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
|
Code: # compress text, html, javascript, css, 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 AddType x-font/otf .otf AddType x-font/ttf .ttf AddType x-font/eot .eot AddType x-font/woff .woff AddType image/x-icon .ico AddType image/png .png | |
| | ||
| |
|
| Bookmarks |
| Tags |
| blog, compression, gzip, plugin, wordpress |
| |