Search squid archive

webput? ftpput?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux