Javascript不能在rails应用程序中工作

oad 发布于 2019-03-09 javascript 最后更新 2019-03-09 14:34 3 浏览

Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:52 +0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:52 +0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-fileupload/vendor/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /jquery-fileupload/vendor/jquery.ui.widget.js - 304 Not Modified (0ms) Started GET "/assets/jquery-fileupload/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /jquery-fileupload/jquery.iframe-transport.js - 304 Not Modified (0ms) Started GET "/assets/jquery-fileupload/jquery.fileupload.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /jquery-fileupload/jquery.fileupload.js - 304 Not Modified (0ms) Started GET "/assets/jquery-fileupload/basic.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /jquery-fileupload/basic.js - 304 Not Modified (0ms) Started GET "/assets/jquery-fileupload/vendor/tmpl.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /jquery-fileupload/vendor/tmpl.js - 304 Not Modified (0ms) Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /bootstrap-transition.js - 304 Not Modified (0ms) Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /bootstrap-affix.js - 304 Not Modified (0ms) Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /bootstrap-alert.js - 304 Not Modified (0ms) Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /bootstrap-button.js - 304 Not Modified (0ms) Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /bootstrap-carousel.js - 304 Not Modified (0ms) Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2013-04-11 17:59:53 +0200 Served asset /bootstrap-collapse.js - 304 Not Modified (0ms)
关于这是什么的任何想法?
已邀请:

ket

赞同来自:

它正在工作。它只是客户端已经有你的文件,没有理由重新发送它,所以它只是发送一个304代码。您可以显式设置标头以拒绝浏览器缓存它,然后它将始终为最新版本。