Why adding version number to CSS file path?

前端 未结 6 1470
遇见更好的自我
遇见更好的自我 2020-11-29 02:06

I noticed some websites put the version numbers (especially) in the CSS file path. For example:



        
6条回答
  •  眼角桃花
    2020-11-29 03:08

    One of the reason could be to bypass file caching. Same name CSS files can be cached by the servers and may result in bad display if new version has has layout changes.

提交回复
热议问题