Who Add “_” Single Underscore Query Parameter?

后端 未结 5 1369
一个人的身影
一个人的身影 2020-12-01 08:47

I have a PHP server running on Apache, I get lots of request looks like this,

10.1.1.211 - - [02/Sep/2010:16:14:31 -0400] \"GET /request?_=1283458471913&         


        
5条回答
  •  鱼传尺愫
    2020-12-01 09:25

    jQuery adds a parameter like that to get around IE's caching.

    edit: it only adds it for get requests, and only if the option cache is false:

    cache: false
    

提交回复
热议问题