什么是queryString在这个样式表的href? [英] What's a queryString doing in this stylesheet's href?

查看:104
本文介绍了什么是queryString在这个样式表的href?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

浏览 http://html5boilerplate.com/ 的样板代码我对此用法感到困惑:

Browsing the boilerplate code at http://html5boilerplate.com/ I'm puzzled at this usage:

<link rel="stylesheet" href="css/style.css?v=1">


推荐答案

如果强制更新已经在浏览器缓存中,
v可能是版本的缩写。

To force update if it is already in browser cache. the v is probably short for version.

这篇关于什么是queryString在这个样式表的href?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆