We had this problem too and so stopped using mod_disk_cache for a few months.  
I was under the impression it had been fixed and so
we've recently turned it back on.  We're on Apache/2.2.26.

 

From: Mike Rumph [mailto:[email protected]] 
Sent: Wednesday, February 12, 2014 4:54 PM
To: [email protected]
Subject: Re: [users@httpd] apache caching 400 http status?

 

Hello Anthony,

The discussion on the caching of 503 errors in bug 55669 may apply to this 
email thread as well.
- https://issues.apache.org/bugzilla/show_bug.cgi?id=55669

Thanks,

Mike Rumph

On 2/12/2014 2:35 PM, Anthony J. Biacco wrote:

I'm running compiled apache 2.2.24 on centos 6.4

I have a URL which gets proxied to tomcat with mod_proxy_ajp.

The URL in a test scenario is producing a 400 status and content using tomcat 
custom error pages.

Said URL space is cached in apache with mod_disk_cache.

Apache is caching said content and serving it out of cache.

 

I was under the assumption that 400 statuses were not supposed to be cached and 
the 2.2 says as much.

Is this incorrect (even if a Cache-Control header is being set)?

 

-Tony

---------------------------

Manager, IT Operations

Format Dynamics, Inc.

P: 303-228-7327

F: 303-228-7305

[email protected]

http://www.formatdynamics.com

 

 

Reply via email to