Preloading Cached Contents into Varnish?

Artur Bergman sky at
Mon Jun 14 22:42:32 CEST 2010

On Jun 14, 2010, at 1:41 PM, Joe Chen wrote:

> On Mon, Jun 14, 2010 at 1:35 PM, Poul-Henning Kamp  
> <phk at> wrote:
> Chen writes:
> >>> Why not just implement a simple HTTP client script to walk the  
> list of
> >>> URL's you want to load on some suitable interval? This way you  
> don't need
> >>> any code modifications.
> This actually is the canonical answer: adding a lot of code to
> Varnish to do what a few lines of script can do, would not make much
> sense.
> Again, It would have worked for me if I could decide what sources  
> are to pull by a script.  The fact is that I cannot initiate a pull,  
> all has to be pushed in by multicast to reduce the traffic loads  
> (there will be many many platforms running Varnish to receive the  
> same pushed in cached contents).  So I cannot pull them by a script.
> Thanks for your answering me,
> --Joe

Yes you can, you can write a 10 line script that listens to the  
multicast and issues the pull.


If you'd like to unsubscribe and stop receiving these emails click here:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-dev mailing list