WebPagetest Forums
Compress Images - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Commercial Services (/forumdisplay.php?fid=18)
+--- Forum: Web Site Optimization Help Needed (/forumdisplay.php?fid=20)
+--- Thread: Compress Images (/showthread.php?tid=11594)

Pages: 1 2


RE: Compress Images - ford - 08-30-2015 02:36 AM

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
I have used this code but still does not improve page loading speed:
http://ford-ranger.weebly.com/
There is no better solution to help me?
Thank!


RE: Compress Images - WebsiteSpeedExperts - 09-04-2015 12:52 AM

It doesn't appear that your pages are being compressed using the above code.

You are putting it in the ".htaccess" file at the root of your domain, correct? It doesn't have any file extension and it is literally .htaccess.

I would check with your hosts to see if they do support .htaccess and ask them to turn on http compression for you if that is the case. If not, then get a host who will.