开发者

This is SO's css path http://sstatic.net/so/all.css?v=6184" what is this ?v=6184"?

开发者 https://www.devze.com 2022-12-18 14:48 出处:网络
This is SO\'s css path http://sstatic.net/so/all.css?v=6184\" what is this ?v=6184\"? What it does? if it useful then how to use this? can i use this on any site PHP, ASp.net 开发者_如何学GoetcIt\'s

This is SO's css path http://sstatic.net/so/all.css?v=6184" what is this ?v=6184"?

What it does? if it useful then how to use this? can i use this on any site PHP, ASp.net 开发者_如何学Goetc


It's a way to control caching. When the value of the "v" parameter changes, the browser will consider it a different URL and ask for a new copy of the file instead of using its cached copy. This technique is often used to "version" static files by providing something like a timestamp in the query string that marks when the file was last changed.


It's a query string. It can be parsed by server-side processes for allowing variable parts of the stylesheet, or it can be used to disable caching by browsers or proxies.

0

精彩评论

暂无评论...
验证码 换一张
取 消