On Fri, Sep 06, 2002 at 05:03:32PM +0200, pascal barbedor wrote:
When I have caching problems, I run my pages through cachability to find
out
where they are failing. Check it out at:
http://www.web-caching.com/cgi-web-caching/cacheability.py
It reports on page headers as well as gives useful info like the
following:
Hi thanks
this helped me determine why the cache did not work
is it because the date format of Expires or Last-Modified was not RFC
correct
I noted on the occasion that Apache::Util::ht_time()
outputs dates in locale language format (french for me)
Mar, 12 Sept 2002 18:50:20 GMT
instead of english ones
This function wraps an apache function (apr_ht_time()) which in
turn uses strftime() to do the conversion.
Try changing your LC_TIME or LANG variable before you start your
web server. Perhaps start by setting LANG=C and go from there.
Consult the strftime() man page for details on the interaction
between the environment variables and the time output.
Cheers,
Paul
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/