Cache busting via params

前端 未结 12 1179
耶瑟儿~
耶瑟儿~ 2020-11-22 03:27

We want to cache bust on production deploys, but not waste a bunch of time off the bat figuring out a system for doing so. My thought was to apply a param to the end of css

12条回答
  •  遇见更好的自我
    2020-11-22 04:24

    It will bust the cache once, after the client has downloaded the resource every other response will be served from client cache unless:

    1. the v parameter is updated.
    2. the client clears their cache

提交回复
热议问题