Open pasztorl opened 6 months ago
It looks like if the values.vclTemplate sets the header the cache.applications[*].vclTemplate not see it. Am I miss something?
@pasztorl sorry about that, but somehow I did not get email notification about this issue. I'l try to look at this ...
Hi,
First, this code works great big thanks for that! My problem probably not a bug, but a question. So the backend service changes the content by the user agent defining the client is a desktop or a mobile. I've found this vcl: https://github.com/varnishcache/varnish-devicedetect and I added this to the vcl template. Now I see the extra added headers.
After doing this I defined a vcl_hash like this:
It not worked, so I checked the varnishlog:
So it seems the custom vcl_hash not executed, the default vcl_hash used. There is a trick which I missed to modify the built-in one?