Re: adding content to the cache

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 08 May 2009 20:42:53 +1200

Laurent Luce wrote:
> I am looking for a way to manually add content to the cache. Is there an API to do that ?
>
> For
> example, I have the following file image.gif and I want to add it to
> the proxy cache so it can be served from there when needed.
>
> Laurent
>

Not at present.
You need to place it somewhere on a web server, assign it sufficient
cache-control settings to store for a long while and then request it
from squid.

Common tools such as wget or squidclient can do that for you.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
   Current Beta Squid 3.1.0.7
Received on Fri May 08 2009 - 08:43:02 MDT

This archive was generated by hypermail 2.2.0 : Sun May 10 2009 - 12:00:02 MDT