RE: [users@httpd] Mod_disk_cache| Struggling to configure

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

 



According to RFC 2616 section 13.9, if you want the response to a GET containing a query string (arguments after a ?) to be cached, it MUST contain an explicit expiration date, i.e. an Expires header. Setting ExpiresDefault won't make Apache cache such a response no matter what.

I am not sure that ExpiresActive will do any good either because the header will probably be inserted AFTER mod_cache (or CACHE_IN) has made the decision NOT to cache.

Regarding
[Wed Nov 30 09:04:30 2005] [debug] mod_cache.c(506): cache:
/images/map/Transport_icon_Air.gif not cached. Reason: HTTP Status 304 Not Modified

This is perfectly normal. Empty your browser's cache and try again. That will force an unconditional request and the corresponding response will most probably be cached by Apache.

-ascs 

-----Original Message-----
From: Arindam Bhattacharjee [mailto:arbhattacharjee@xxxxxxxxxxx] 
Sent: Wednesday, November 30, 2005 5:52 AM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] Mod_disk_cache| Struggling to configure

I am currently using apache 'httpd-2.0.52'. I can't change the version for some reasons. 

Tried to hit the application from another machine and a different browser. Tried to hit different pages too. Still I am getting the same log pattern. Another pattern that I get, looks something like : 

not cached. Reason: Query string present but no expires header.

Tried in conjunction with
ExpiresDefault "access plus 1 second" 
Just to see things caching but not of any help.

Any clues ? 


Arindam Bhattacharjee
Phone: +91.80.5104.7255

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux