On Tue, Jan 13, 2015 at 8:55 PM, Max Clark <[email protected]> wrote:
>
> On Tue, Jan 13, 2015 at 11:52 AM, Dridi Boukelmoune
> <[email protected]> wrote:
>>
>> Like I said, a purge picks objects from a hash. So in your case if you
>> want to purge www.foo.com/directory/article/ you need to handle
>> X-Edition headers in your purge request(s).
>
>
> Is there a way to handle this solely in the Varnish VCL?

The header is part of the request, it is user input and shouldn't even
be trusted in the first place. Most of the time I'd reject a request
without a host header for instance.

And also I don't even know X-Edition's purpose, so I can't answer your
question with just VCL. That being said, the answer is most likely no
anyway.

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

Reply via email to