[squid-users] webput? ftpput?

From: Jeff Chua <jeff80@dont-contact.us>
Date: Fri, 11 Aug 2006 11:41:07 +0800 (SGT)

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?

Here's an example ...
- upload a file 'abc' to http://remotehost/remotepath/abc.ext
- squid cache this in local server

Then do a download ...
- wget //remotehost/remotepath/abc.ext
- squid cache return this file from local cache

One way that I'm considering is ...
- ftp the file to the remote server
- write the file to squid cache as if it's retrieving the file remotely
- then subsequent wget will retrieve from local squid cache

Has anyone done this?

Thanks,
Jeff
Received on Thu Aug 10 2006 - 21:41:41 MDT

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