Afficher un message
Vieux 06/04/2008, 01h03   #3
Neil Cherry
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Questions on compressing web files

On Sat, 05 Apr 2008 18:06:41 +0100, David Dorward wrote:
> Neil Cherry wrote:
>
>> I'm not sure if this is the correct place or not, I think it is. I
>> checked with my hosting provider and mod_deflate (Apache hosting) is
>> not available on my setup. I'd like to compress (ex: gzip index.html)
>> some of the files for better load times. I should clean up the site
>> and make the pages smaller but that's not going to happen any time
>> soon. If I compress the file (except already compressed file such as
>> .png, .jpeg, .gif and .zip files, for example) will I lock out any of
>> the users of popular browsers?

>
> How do you propose to compress them without mod_deflate?


Actually part of the answer was easy but not the second part. I'd
simply gzip index.html (resultant: index.html.gz) before hand but the
Apache server won't serve up the file as it would with index.html. So
calling http://www.linuxha.com/ wouldn't get you the index.html.gz
file. I've currently abandoned this idea.

--
Linux Home Automation Neil Cherry ncherry@linuxha.com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies
  Réponse avec citation
 
Page generated in 0,06312 seconds with 9 queries