PDA

View Full Version : Js and CSS are so slow! Asking help for G-ZIp Compression



Matteo marco Giani
October 1, 2012, 08:29 PM
Hi, i've noticed that my website is loading really slow! Looking up a little bit i saw that it takes a lot o time to load css & js.

Can someone help me on how to compress all the files with g-zip to get a faster loading?

Thanks

Riba
October 2, 2012, 07:56 AM
Hello Matteo - check the following article for suggestions and options:
http://viralpatel.net/blogs/compress-php-css-js-javascript-optimize-website-performance/

Vladimir
October 2, 2012, 09:20 AM
Hello,

We are using this feature in version 4. (file .htaccess)



AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/x-component text/css application/x-javascript application/javascript


But it will be works if you have enabled the Apache module mod_deflate.

Matteo marco Giani
October 3, 2012, 06:11 AM
Unfortunately i dont have this option enable with iPower host :(

I heard about a plugins that is going to be released in the next months... that enables to compress javascript and css is that right??

Thx :)