Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
А все-таки, зачем нужен Varnish при наличии кэша в nginx? Не сарказм, правда интересно, в чем разница
Does NGINX Support Cache Purging?
NGINX Plus supports selective purging of cached files. This is useful if a file has been updated on the origin server but is still valid in the NGINX Plus cache (the Cache-Control:max-age is still valid and the timeout set by the inactive parameter to the proxy_cache_path directive has not expired). With the cache‑purge feature of NGINX Plus, this file can easily be deleted. For more details, see Purging Content from the Cache.
А в чем проблема кэшировать с etag?
Страница изменилась, создали новый кэш и выдали в заголовках новый etag. Nginx прекрасно это умеет
Drupal 8 + Varnish: Кешируем HTML правильно