Asking browsers to cache as aggressively as possible

后端 未结 7 900
既然无缘
既然无缘 2020-12-07 19:18

This is about a web app that serves images. Since the same request will always return the same image, I want the accessing browsers to cache the images as aggressively as po

7条回答
  •  盖世英雄少女心
    2020-12-07 19:40

    There is a very important value on cache header that you have not mentioned here:

    "post-check=900, pre-check=3600"

    Read this article about this topic (and search for more):

    http://www.rdlt.com/cache-control-post-check-pre-check.html

提交回复
热议问题