Re: [squid-users] GET/POST caching

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Mon, 5 Dec 2005 17:36:00 +0100

On 05.12 15:18, Stefan Palme wrote:
> does squid distinguish between GET and POST URLs? I have an HTML form
> (as part of a CMS) that will be first requested by "GET /form.html".
> When the user submits the form, a "POST /form.html" will be made,
> including the form data in the body of the request.
>
> I want to "GET" request to be cached, because the result is always the
> same (an empty form), but I want the response to the "POST" request
> not to be cached.

the POSTs are not usually cacheable, while GETs usually are.
What problems do you encounter?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Nothing is fool-proof to a talented fool. 
Received on Mon Dec 05 2005 - 09:36:03 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST