mod_cache with CacheStaleOnError returns 503 for proxy error instead of returning stale entry from cache
Issue
- We us mod_cache on httpd.
CacheStaleOnError
should default toOn
and we explicitly set it toOn
, but it does not seem to work since httpd is returning 502 or 503 responses in the event of a failed proxy attempt instead of serving the stale cache content
Environment
- Red Hat Enterprise Linux (RHEL)
- JBoss Core Services (JBCS)
- Apache httpd
- mod_cache
- mod_proxy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.