Why adding version number to CSS file path?

前端 未结 6 1478
遇见更好的自我
遇见更好的自我 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:02

    My knowledge is pretty much out of date regarding websites, but the variable stored in the 'href' argument is received by the browser through HTTP. Using the usual tricks in URL-rewriting you could actually have an arbitrary script that produces CSS-output when called. That output can differ, depending on the argument.

提交回复
热议问题