Afficher un message
Vieux 11/04/2008, 08h58   #7
Chris Davies
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Questions on compressing web files

Neil Cherry <njc@.uucp> wrote:
> Actually part of the answer was easy but not the second part. I'd
> simply gzip index.html (resultant: index.html.gz) beforehand [...]


You need to include index.html.gz in the DirectoryIndex list.

You may also need to enable content negotiation.

Finally, within your website, refer to files (e.g page.html, image.jpg)
in links without extensions (i.e. "page" or "image") and let Apache find
the appropriate ".html" ".html.gz", "jpg" suffix itself.

Chris
  Réponse avec citation
 
Page generated in 0,11667 seconds with 9 queries