How to configure VCL to cache pages when there's a language cookie


1 comment

  • Peter Wohlers


    In our environment, HEAD requests don't cluster so it won't accurately represent cache behavior. Use GET requests: curl -svo /dev/null <URL>

    Typically we will see customers key language-specific responses off of the Accept-Language: request header and Vary on the language rather than use cookies.

    We will by default mark any object with a Set-Cookie response header as a PASS object.

    Please be sure to use our default VCL template in your implementation.

    You might also want to look at Simon's blog post on cacheing with tracking cookies:

    Comment actions Permalink

Please sign in to leave a comment.