adho12 Posted August 8, 2013 Posted August 8, 2013 Hi it me again...Sorry to ask something again... but after reading about the huge improvements by gzip i wanted to use it on my Web-Site so I added this to my .htaccess #Gzip <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl|jpg|png|gif)$ 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> and this <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript </ifmodule> #End Gzip None of them gave any results...Is it because g-zip is disabled on helihost? Could you help my once again... Thanks ^^ Quote
Ice IT Support Posted August 8, 2013 Posted August 8, 2013 Take a look at this post: http://www.helionet.org/index/topic/6415-gzip-compression/ and let me know if it helps. Quote
adho12 Posted August 8, 2013 Author Posted August 8, 2013 Ah yes...But I don't want to zip php files I have to zip some java files... Quote
Ice IT Support Posted August 8, 2013 Posted August 8, 2013 Hopefully this helps: http://docs.oracle.com/javase/7/docs/api/java/util/zip/GZIPOutputStream.html I'm not an expert on Java, so I can't tell you how it works or how to use it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.