mod_cache mod_header set header for cached response

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

 



Hello,

Please help me out. I want to set header for cached content.
I use apache 2.2 with mod_header and mod_cache

Relevant parts in my conf file are following:

Header set CacheHit "%D %t"

CacheEnable disk /
CacheRoot /tmp/cache
CacheDirLevels 5
CacheDirLength 3
CacheMinFileSize 2
CacheIgnoreCacheControl On
CacheMaxFileSize 100000000
CacheIgnoreNoLastMod On
CacheMaxExpire 120
CacheIgnoreQueryString On

What I want to achieve is following:
All responses have header CacheHit with request times. However I get
this header only when cache is not hit and after that this header comes
from cache without changes. This means that there are no new values but
only the first request value. If I tell to cache to ignore this header
,then cached response didn't contain this header at all.

Can someone confirm that this is not achievable or can someone point out
what I must do to achieve this.

Raino Kolk

---------------------------------------------------------------------
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