开发者

jQuery caching with POST

Although I have set开发者_高级运维 cache:false in a jQuery AJAX Post request, it does not add the extra randomg string. Is this because post does not cache?

Thank you for your time.


RFC 2616 states (in section 13) that POST requests should not be cached.

Some HTTP methods MUST cause a cache to invalidate an entity. This is either the entity referred to by the Request-URI, or by the Location or Content-Location headers (if present). These methods are:

- PUT
- DELETE
- POST
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜