Skip to content

Preload page into Varnish

I’m trying to preload a huge page into varnish, after i have done some maintenance on different pages and need to flush the cache.

But how to I programmatically trigger Varnish to cache that one page again? (So first user dosnt have to wait)

I have tryed to CURL the page, load in into a DOMdocument and so on, but nothing will cache the page in Varnish. The only thing that works, is me loading the page from a browser. How come?