Preloading Cached Contents into Varnish?

Poul-Henning Kamp phk at
Mon Jun 14 21:35:48 CEST 2010

In message <AANLkTinjTfuJuiXl0rDZcQiKDcUCj74w6YMTMvxx0KF8 at>, Joe 
Chen writes:

>I haven't received any reply besides Adrian's one. Is this emailing list
>active?  I still need someone to point me to a good direction of adding
>preloaded cache in the storage.

Sorry for the delay.

>>> 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

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list