Preloading Cached Contents into Varnish?
Artur Bergman
sky at crucially.net
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 phk.freebsd.dk> 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.
Artur
If you'd like to unsubscribe and stop receiving these emails click here: http://u10956.sendgrid.info/wf/unsubscribe?rp=wrU9d1VlqIiuL6N0zVMze4Ep%2FR7u99vtLlE%2BlH3ENQCZNSISh1iSpv072pg1%2B%2Bb9VrC6nKrdFGGFRqYJ2yJmFA%3D%3D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.varnish-cache.org/pipermail/varnish-dev/attachments/20100614/17c9b36f/attachment.html>
More information about the varnish-dev
mailing list