Stop browser to make HTTP requests for images that should stay cached - mod_expires

后端 未结 10 1039
猫巷女王i
猫巷女王i 2020-12-04 10:01

After reading many articles and some questions on here, I finally succeded in activating the Apache mod_expires to tell the browser it MUST cache images

10条回答
  •  我在风中等你
    2020-12-04 10:56

    This question has a better answer here at webmasters stack-exchange site.

    More information, which is also cited in the above link, is on httpwatch

    According to the article:

    There are a number of situations in which Internet Explorer needs to check whether a cached entry is valid:

    • The cached entry has no expiration date and the content is being accessed for the first time in a browser session
    • The cached entry has an expiration date but it has expired
    • The user has requested a page update by clicking the Refresh button or pressing F5

      enter code here

提交回复
热议问题