hello, [win2003 / apache 2.2] using mod_disk_cache and mod_rewrite we are trying to cache responses with rarely updated but dynamic content served from a heavy loaded backend. how can one determine if a certain request is actually served from the cache and not the backend from where it originally came from ? we can see our disk cache is growing, but assuming we (via script for example) just hit the same URL over and over again, would it not then be possible to turn off the backend server completely and our frontendwould still work happily serving from the disk cache? (that test would work if it was a static file like a gif image it seems)
below are relevant parts from configuration and response headers thanks ./allan conf ---- RewriteEngine On RewriteRule ^/(.*) http://remote.backend.com:12345/$1 [proxy,last] CacheEnable disk / CacheDefaultExpire 3600 CacheRoot d:/cacherootlocalhost CacheDirLevels 5 CacheDirLength 3 response headers from backend (http statuscode = 200) ----------------------------- Connection: close Date: Sat, 09 Dec 2006 21:13:53 GMT Allow: GET Content-Length: 756 Content-Type: text/xml; charset=UTF-8 Expires: Sat, 09 Dec 2006 21:13:55 GMT Client-Date: Sat, 09 Dec 2006 21:13:53 GMT Client-Peer: 127.0.0.1:80 Client-Response-Num: 1 --------------------------------------------------------------------- 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