Is it possible to vary page caches (to have cache versions) with the same url and different cookie value (language)?
问题 We have a multilanguage site and want to cache e.g. page /about . English and belarusian pages have the same URL: /about , language is stored in and detected from the cookies. En: /about , cookie: site_lang: en Be: /about , cookie: site_lang: be We have a ReverseProxy cache (SymfonyHttp or Varnish). When the first user opens the /about page with en value in cookies, it's cached by ReverseProxy and by browser. Response headers: Cache-Control max-age=600, public, s-maxage=600 Last-Modified Mon,