Hi all,

I am just trying to get familiar with varnish. I installed the latest
version 2.1.0 and with the minimal config it works as intended:

backend default {
    .host = "backend.example.com";
    .port = "80";
}

But the back-end sends an expires-header of "0", thus varnish tries to
fetch the item again from the back-end for every client requesting it.
So I need a simple rule that tells varnish to just cache every object
for say 2h, regardless what the back-end says. I just have to prevent
varnish to ask the back-end at every request.

Unfortunately the config language is not entirely self-explaining. and
most expamples on the web won't work (too old?).
Can anyone help me?

-- 
Dirk Taggesell

_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

Reply via email to