Re: [squid-users] webput? ftpput?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 12 Aug 2006 11:18:10 +0200

fre 2006-08-11 klockan 11:41 +0800 skrev Jeff Chua:
> Is it possible to cache file upload so that subsequent download of the
> same file will not hit the remote server, but simply retrieve from the
> local squid cache?

The HTTP specifications is very vague on this. The problem is that the
HTTP metadata about the object is not known in a PUT request, only when
later retreiving the object from the web server. Also there is no
guarantee that the web server stores the object exacly as sent by the
client as there may be some serever-side processing done by the
webserver before it's published..

But if your goal is more into pushing data into the cache then see the
push-cache project. Unfortunately not very actively maintained however..

Regards
Henrik

Received on Sat Aug 12 2006 - 03:18:14 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT