savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-help-public] [gnu.org #703015] [sr #107737] HTTP headers lack


From: Ward Vandewege via RT
Subject: [Savannah-help-public] [gnu.org #703015] [sr #107737] HTTP headers lack "last-modified"
Date: Mon, 01 Aug 2011 13:04:37 -0400

There is no Last-Modified header for SSI files by default. Here's the 
documentation from the Apache site:

---------------------------------------------------

http://httpd.apache.org/docs/2.0/howto/ssi.html

In its default configuration, Apache does not send the last modified date or 
content length HTTP headers 
on SSI pages, because these values are difficult to calculate for dynamic 
content. This can prevent your 
document from being cached, and result in slower perceived client performance. 
There are two ways to solve 
this:

Use the XBitHack Full configuration. This tells Apache to determine the last 
modified date by looking only 
at the date of the originally requested file, ignoring the modification date of 
any included files.
Use the directives provided by mod_expires to set an explicit expiration time 
on your files, thereby 
letting browsers and proxies know that it is acceptable to cache them.

---------------------------------------------------

We could switch on XBitHack Full for the nongnu.org webspace. What do you think?

Thanks,
Ward.

-- 
Ward Vandewege <address@hidden>
Free Software Foundation - Senior System Administrator




reply via email to

[Prev in Thread] Current Thread [Next in Thread]