English 中文(简体)
Chrome多次发出要求
原标题:Chrome sends a request multiple times

我有第3号铁路机,并刚刚注意到,在使用 Chrome(Maon Mac)获取照相机时,该网站的每一页都在两次要求上。 这一情况正在发展和生产过程中(Heroku)。 富兰和索特只一次发出请求。 即使我删除了行动的所有布局和内容,行为也是一样的。 似乎就有一个“监测和评价”问题。 是否有人确定这一问题?

class PagesController < ApplicationController
  def home
    render :text =>  a , :layout => false
  end

这是发展中的服务器记录:

2010年12月13日13日33:33-0800时启动的GET“/”为127.0.0.1

页: 1

提交文本模板(0.0ms)

填满了2米的200科索沃元(1.3ms PERRecord:0.8ms)


2010年12月13日13日33:33-0800时启动的GET“/”为127.0.0.1

页: 1

提交文本模板(0.0ms)

填满了3米的200科索沃(第17条)

最佳回答

我发现我的问题是什么,也许你们会: 我使用的是谷歌 Chrome延伸,名称为Web 服务器 Notifier Technology Noier/tifa , 自行提出。

在开始发言后,我只要求每页一次。

问题回答

这个问题可能与这一问题有关:。 http://news.ycombinator.com/item?id=1872177

Chrome在开发商的建筑中尝试了一些侵略策略(我认为是冷却)。 他们重新做的是,对服务器进行投机性开放,如果其第一次尝试无法迅速得到回复,则打开第二个袖珍。 非常容易地看到,这种 st脚的ug,甚至只是预期的行为,会引发滥用过滤。 但是,正如我所说的那样,我认为这值得做。 如果网络更快,所有这些网络开办都将增加资金。

如果您的铁路机能反应得足够快,那么 Chrome有可能试图以其他方式将内容退回用户;你可能不会做很多事情。 你的反应时间非常快,但取决于联系的准备时间,这可能是问题的一部分。

I found this thread while researching a similar issue. I have an HTML <OBJECT> whose data is being populated by a call to a php script. I am getting two calls (GET) to the PHP script when running in Chrome 27.0.1453.81, but only one from IE (10.0) or FF (19.0.2). Looking at the HTTP traffic, the second GET is being generated after the first GET, but before the first GET responded, so I m inclined to agree with the suggestion that Chrome is being impatient and sending the second GET when it believes the first one has failed (which it hasn t).
My php script will always take a couple of seconds to run and I can t work around that, and this second call is causing me some grief, so I m interested in any strategy that might control it.

无,但我没有这样做。 我完全忘记了这一职务。





相关问题
rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

activerecord has_many :through find with one sql call

I have a these 3 models: class User < ActiveRecord::Base has_many :permissions, :dependent => :destroy has_many :roles, :through => :permissions end class Permission < ActiveRecord::...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签