weixin_33726313 2014-08-01 21:12 采纳率: 0%
浏览 137

GET请求中的“ _”参数[重复]

This question already has answers here:
                </div>
            </div>
                    <div class="grid--cell mb0 mt4">
                        <a href="/questions/3687729/who-add-single-underscore-query-parameter" dir="ltr">Who Add “_” Single Underscore Query Parameter?</a>
                            <span class="question-originals-answer-count">
                                (4 answers)
                            </span>
                    </div>
            <div class="grid--cell mb0 mt8">Closed <span title="2014-08-01 21:14:16Z" class="relativetime">5 years ago</span>.</div>
        </div>
    </aside>

I have noticed in several websites recently the '_' parameter which appears to be set to a random string. eg:

 stackoverflow.com/?_=12345678

What is the purpose of this parameter and how is the number generated?

</div>
  • 写回答

1条回答 默认 最新

  • weixin_33725515 2014-08-01 21:13
    关注

    Adding a random numerical param to requests is a common way to defeat browser caching of AJAX result sets.

    评论

报告相同问题?