Website needs force refresh after deploy

前端 未结 3 1260
孤城傲影
孤城傲影 2021-02-05 02:13

After deploying a new version of a website the browser loads everything from its cache from the old webpage until a force refresh is done. Images are old, cookies are old, and s

3条回答
  •  执念已碎
    2021-02-05 02:40

    You could use http headers to control the cache of your clients.

    I'll just leave this here for you. http://support.microsoft.com/kb/234067

提交回复
热议问题