cache

varnish отправляет код 200 вместо 304 При использовании слабого валидатора ETag \W

Близкая проблема на трекере: https://varnish-cache.org/trac/ticket/1816

Currently when the client sends a request with weak ETag and it matches, Varnish returns response with 200 status code on cache hit.

But it should actually return 304 just like with strong ETag.

Эксперимент с выключением \W

Запрос вида:

curl -I 'http://dev.cartimes.ru' -H 'If-None-Match: "20e208217929cc010a4a7f7467d3e681"'

drupal 7 Сброс кэша в админке

Значение:

 Administration > Configuration > Development > Performance
Subscribe to RSS - cache