ons 2003-04-09 klockan 19.51 skrev Jigar Rasalawala:
> Hi, Henrik
>
> Thanks for yr reply. How about PUT or POST method ?
>
> If I try to PUT or POST object, does squid cache the
> object pushed by PUT or POST ?
No, and it must not.
In case of POST the POST is just submission of some data to some program
on the web server. What the web server does with this data is up to the
server.
In case of PUT the object has not yet been given an identity by the
origin server, so there is no way Squid can tell if the uploaded object
is what will be published on the URL afterwards, or the meta information
returned in the HTTP headers.
If you want to inject objects in a Squid cache you must do so via a
configured cache peer (which may be a web server if you like..).
Regards
Henrik
-- Free Squid-users support provided by Henrik Nordström <hno@squid-cache.org> Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org If you need commercial Squid support or cost effective Squid and firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, info@marasystems.comReceived on Thu Apr 10 2003 - 02:51:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:54 MST