RE: [users@httpd] Prevent caching of 404 responses

2015-02-26 Thread Paul Beckett
out=3, max=100Connection: Keep-AliveTransfer-Encoding: chunkedContent-Type: text/html Thanks, Paul > Date: Thu, 26 Feb 2015 13:23:41 +0100 > From: ylavic@gmail.com > To: users@httpd.apache.org > Subject: Re: [users@httpd] Prevent caching of 404 responses > > On Thu, Feb 26, 2

Re: [users@httpd] Prevent caching of 404 responses

2015-02-26 Thread Yann Ylavic
On Thu, Feb 26, 2015 at 1:00 PM, Yann Ylavic wrote: > On Thu, Feb 26, 2015 at 10:21 AM, Paul Beckett > wrote: >> 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. > > It is not possible to specify some particu

Re: [users@httpd] Prevent caching of 404 responses

2015-02-26 Thread Yann Ylavic
On Thu, Feb 26, 2015 at 10:21 AM, Paul Beckett wrote: > 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. It is not possible to specify some particular status mod_cache would or not cache, it is solely controlle

[users@httpd] Prevent caching of 404 responses

2015-02-26 Thread Paul Beckett
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