javascript - nodejs get请求莫名其妙多出一串数据参数
巴扎黑
巴扎黑 2017-04-10 17:19:00
0
1
514

RT,用ajax请求某个路由的时候,会多出一个参数外加一串数字,如下图

虽然不耽误什么,但是这串莫名其妙的数字参数有可能是什么呀....

巴扎黑
巴扎黑

répondre à tous(1)
Ty80

这个是jquery给加上的,只要是为了清除缓存,因为如果你每次请求的参数不一致的话,浏览器会认为你这是请求一个新的url,所以不会使用本地缓存。

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!