0

嗨,我正在使用 Django 和 jQuery Mobile,我得到 2 个 HTTP 200,每个页面刷新围绕着一堆 HTTP 304。我注释掉了我所有的 javascript 包括,但我仍然得到这个,所以我不认为 jQuery mobile 是问题所在。可能是我只是不理解 304,但我环顾四周,为什么围绕 HTTP 304 有 2 个 HTTP 200 请求,但我找不到答案,所以我认为这不自然。

在此处输入图像描述

4

2 回答 2

0

304 代码表示内容未修改。查看客户端之前是否联系过服务器是正常的。

于 2014-10-27T08:08:37.463 回答
0

Your browser still caching the pages with the javascript/css includes, that is why even after the comment, it still request the files, but the server response was 304 means not modified.

于 2014-10-27T08:12:21.690 回答