Top "Varnish-vcl" questions

The Varnish Configuration Language (VCL) is a small domain-specific language used to define request handling and caching policies for the Varnish HTTP accelerator.

Stripping out select querystring attribute/value pairs so varnish will not vary cache by them

My goal is to "whitelist" certain querystring attributes and their values so varnish will not vary cache between the urls. …

regex query-string varnish varnish-vcl
Varnish Client IP not logging in Apache Logs

I've configured Varnish 3 with Apache and it is running perfectly alright. However i'm unable to get the Client ip logged …

varnish varnish-vcl
Varnish automagically adding load balancer IP to X-Forwarded-For header

My request flow is as follows; HAProxy --> Varnish (4.0.1) --> Apache web backends When a new request comes …

varnish varnish-vcl
What is Pipe mode and pass mode in varnish

what is pipe mode and pass mode in varnish-cache ... I have been trying to refer to this link to understand …

varnish varnish-vcl
Varnish 3 - how to set maximum age in http headers

I am using Varnish 3.0.3 and to use it to leverage browser caching by setting a maximum age in the HTTP …

varnish varnish-vcl
How do I access Varnish admin area?

This is a stupid question, sorry... I have tried googling and to no avail. I thought it would just be …

caching varnish varnish-vcl
How do I get the req.url in vcl_backend_response?

My configs are based on Varnish 3.0 and I have been updating them. But I ran into a snag. vcl_fetch …

varnish varnish-vcl
Varnish remove specific cookies from backend response

I need to remove specific cookies from the backend response in varnish. My backend server sets a bunch of cookies …

cookies varnish varnish-vcl
Varnish not processing ESI includes

I'm trying to setup Varnish to process ESI includes on a local environment. I am running varnish in a virtual …

varnish varnish-vcl esi
Varnish expires header configuration

Please help me in adding expires header in varnish configuration. max_age is already defined in vcl_fetch and need …

varnish varnish-vcl expires-header