Search code examples
http-headerscache-controletaghttp-caching

What has bigger priority ETag or Cache-Control?


If header has Cache-Control:no-cache and ETag, what has bigger priority? Is it possible that cache works in this case?


Solution

  • If it's not cached then it won't have the ETag to send back next time.