Squid (and most other caches) considers all POST responses
uncacheable, even if they have freshness information.
I think that's unfortunate, but there you go.
Just out of curiosity, what's your use case?
Note that when POST is cached, it's future GETs that will get the
cached response, not POSTs (which will be forwarded to the origin).
Cheers,
On 2006/10/13, at 2:49 AM, Zsolt Laposa wrote:
Hi,
I'm using squid-2.6 as a reverse proxy, and I'm trying to cache POST
responses.
The Squid FAQ and the HTTP 1.1 RFC says that responses to a POST
request are
not cacheable,
unless the response includes a Cache-Control or Expires header. I'm
using
Cache-Control max-age in
the responses, but Squid still doesn't cache the POST responses.
Did I miss something in the Squid configuration?
Thank in advance,
Zsolt
--
Mark Nottingham
mnot@xxxxxxxxxxxxx