httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: mod_cache not caching some RFC valid cacheable requests
Date Sun, 07 Dec 2008 06:33:43 GMT
Alex Polvi wrote:
> Hi there,
> 
> I ran into a weird case where *I think* mod_cache should be caching a
> request that it is not. Thought I would try to fix it myself, but
> would like to seek your feedback as it is my first httpd patch (thanks
> to pquerna for the help/encouragement).
> 
> Caching a 302 is generally not valid (RFC2616 13.4), unless the
> response headers includes an Expires or Cache Control header (section
> 13.4, last paragraph). This makes the fix a matter of messing with the
> cacheability logic. I optimized for least amount of code change, but
> there are surely different ways to do this. Feedback on the best
> approach would be greatly appreciated!
> 
> Thanks,
> 
> -Alex
> 
> PS: I also filed a bug, if that is a better forum for this discussion:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=46346

Committed to trunk in r724093,

Thanks,

-Paul

Mime
View raw message