Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我做了一个 Flash 应用程序,它在 Flash 中有一个登录表单,并在 php 中进行身份验证。那是 3 个月前,发送请求和响应非常快——也就是说,当我单击提交按钮时,在 3 - 5 秒内它将有来自 php.ini 的响应。
最近,我在 flash 中再次登录,使用与以前类似的代码。现在,发送请求和响应很长,每次服务器可能需要长达 10 秒的时间来响应。为什么需要这么长时间,而上一个却很快?
相同的主机,相同的 php 文件,相似的 swf(swf 变化不大)。
使用 Firebug 之类的东西来告诉您实际的请求/响应时间,以查看延迟是服务器端还是客户端。