在“本地主机”上运行网站是非常缓慢的 [英] Running sites on "localhost" is extremely slow
问题描述
事情:
$ b
- 禁用IPv6
- 未在调试模式下运行
- 将站点放置在IIS 6上最高的应用程序池(高隔离度)中。
- 取得防火墙等。
这个问题似乎只发生在代码隐藏中包含某些.net代码形式的页面时。
请注意,一个模糊的主题/刺在黑暗中的一点点,但将不胜感激任何形式的建议 - 这是可怕的等待一分钟刷新每一次尝试一个改变!
干杯, Sean。
我对PHP有同样的问题。我解决了这个问题,通过在数据库连接参数中将localhost更改为127.0.0.1,就像这里提供的一样: https://serverfault.com / a / 444338/62739 。我认为这可能也适用于您,请试一试。
Having real trouble using my localhost to test sites. It runs extremely slowly! Sometimes it takes up to a minute to load a page. I'm using Firefox and the sites I'm testing run fine on other developers in my office's local machines / on the production server.
I've gone through the normal things :-
- Disabled IPv6
- Not running in debug mode
- Put the site in the highest app pool (High Isolated) on IIS 6.
- Taking of firewalls etc.
The problem only seems to occur when hitting pages which contain some form of .net code in the code-behind.
Appreciate that this a little bit of a vague topic / stab in the dark but would appreciate any sort of advice - it's horrible waiting a minute each refresh to try out a change!
Cheers, Sean.
I had the same problem with PHP. I solved it by changing "localhost" to "127.0.0.1" in database connection parameters like someone suggested here: https://serverfault.com/a/444338/62739 . I think it may work for you too, give it a try.
这篇关于在“本地主机”上运行网站是非常缓慢的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!