httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Beckett <>
Subject [users@httpd] Prevent caching of 404 responses
Date Thu, 26 Feb 2015 09:21:23 GMT
I'm running Apache 2.4.10, and using mod_cache_disk . Some of my web content is from flatfiles
stored on an NFS export. I think these are occasionally going AWOL, resulting in 404 responses,
which appear to then be cached by Apache.
Is there any way to restrict what HTTP response codes are cached by Apache, ideally I would
like to only cache 200,301,302 responses.
View raw message