0

As the title says, every request in my Rails Production environment performs a request to the same page with ?_[timestamp] after it. It expects javascript, because that is what the headers say.

It seems this request slows down my page-loading, because every page now does two requests instead of one.

Does anybody know what is going on and whether it can be fixed?

I'm using Ruby on Rails 3.2 with NGINX.

4

1 回答 1

0

您可能处于开发模式?!然后是防止在网络浏览器中缓存。更改为生产模式,如果您想在生产中运行它,它就消失了。

于 2012-04-16T06:31:55.680 回答