Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] Over-ride the not caching behaviour for no explicit
expiration

tanshul22

2008-07-07


Author LoginPost Reply

i have a situation which returns a
"not cached. Reason: query string present but no explicit expiration time"
this is a php script and i want to cache the result anyhow.

my config file reads like:

<IfModule mod_headers.c>
 Header set Expires 62222222222222
</IfModule>

<IfModule mod_expires.c>
 ExpiresActive On
 ExpiresDefault "access plus 10 days"
</IfModule>

<IfModule mod_proxy.c>
 ProxyRequests On
 <Proxy *>    
   Order deny,allow    
   Deny from all    
   Allow from localhost
 </Proxy>
</IfModule>

<IfModule mod_disk_cache.c>
 CacheEnable disk /
 CacheRoot "c:/temp/cache/"
 CacheMaxExpire 864000
 CacheDefaultExpire 864000
 CacheIgnoreNoLastMod On
 CacheStoreNoStore On
 CacheStorePrivate On
 CacheIgnoreCacheControl On
 CacheLastModifiedFactor 864000000000
</IfModule>


am i doing something wrong or do i need to do something extra to cache in
such situations.

Thanks,
Anshul
--
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.