Pranav Desai wrote: > Hello, > > Is it possible to inject a specific object into the cache store and > associate it with a particular URL ? > > E.g. a gif on the disk needs to be included in the cache store as say > http://www.google.com/logo.gif. > So, when someone accesses http://www.google.com/logo.gif, they will > get the gif that was on the disk. > > Or maybe it can be included in a special user request (like PURGE), > where you would give the entire object in the user request.
You could use a redirector (http://wiki.squid-cache.org/SquidFaq/SquidRedirectors). Joost