Hello, this is my first time posting to the users list and looking for some help with an issue. We have a production deployment of httpd where we are using mod_disk_cache and mod_proxy_balancer to cache images served from our load balanced backend tomcat servers. We have setup a 15 days expiry for the cached images. The setup works flawlessly except that it is unnecessarily caching "404 Not Found" responses as well. This causes issues when a image URL is accessed before the actual image is published at the backed servers, since the resultant "404 Not Found" response is already cached by the mod_disk_cache and it either has to be manually refreshed or wait for the expiry period to pass before the actual image is visible. Needless to say this causes lots of issues as we have millions of images served per day. Also this is against the apache caching policy as outlined at http://httpd.apache.org/docs/2.2/caching.html which states that "2. The response must have a HTTP status code of 200, 203, 300, 301 or 410." The code pertaining to load balancing and caching configuration is pasted below. Any help in this regard from any user will be highly appreciated. <VirtualHost *:8080> ## Apache Load Balancing configuration <Proxy balancer://image-origin/> BalancerMember http://oc1.etilize.com BalancerMember http://oc3.etilize.com ProxySet lbmethod=bybusyness Order allow,deny Allow from env=allow_request Deny from env=crawler allow from all #Expiry settings ExpiresActive On ExpiresDefault "access plus 15 days" </Proxy> ProxyPass / balancer://image-origin/ ProxyPassReverse / balancer://image-origin/ ## Apache Caching Configuration <IfModule mod_cache.c> <IfModule mod_disk_cache.c> CacheEnable disk / CacheRoot "/ebs/cache" CacheDirLength 1 CacheDirLevels 2 CacheMaxFileSize 5000000 </IfModule> </IfModule> </VirtualHost> Regards Asif Mushtaq Sr. System Administrator Etilize Pvt. Ltd. www.etilize.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx