如何降低服务器的初始等待时间? [英] How to reduce the server initial waiting time?

查看:537
本文介绍了如何降低服务器的初始等待时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Ubuntu Apache和我的网站是由PHP,jQuery和必要的HTML和放大器产生; CSS。

I'm using ubuntu apache and my site is created from php, jquery and necessary html & css.

我已经做了很多事情来提高性能。所有的CSS JS调用后第一次和不折JS&安培; CSS阻止和减少CSS和JS的子画面图像一切都已经完成了。

Already I have done lot of things for improve performance. All the js calls after css and first fold no js & css blocking and minimizing css js and sprite images everything is already done.

现在我需要的是我必须减少服务器的初始响应时间。和

Now my need is I have to reduce the server initial response time. and

此外精灵形象正在1秒加载只是90KB文件。

Also sprite image is taking 1 sec to load for just 90kb file.

谁能帮我解决这些问题。

Can anyone help me to fix these issues.

感谢您提前。

推荐答案

下面是关于提高网站速度的一些伟大的秘诀

Here are some great tips about improving site speed

http://developer.yahoo.com/performance/rules。 HTML

在你的情况,你需要提前刷新缓冲区,这里有一个详细的解释:
http://developer.yahoo.com/performance/rules.html #flush
当然配置您的code,看看是否可以改善任何那里。

in your case, you need to flush the buffer early, here's a detailed explanations: http://developer.yahoo.com/performance/rules.html#flush and of course profile your code and see if you can improve anything there.

您也可以利用YSlow的的 http://developer.yahoo.com/ YSlow的/

you could also make use of Yslow http://developer.yahoo.com/yslow/

有关精灵加载速度更快,看你能不能COM preSS更多,那么你已经可能没有,
尝试删除的东西,如果你能使其变小,使用CDN吧。

for sprite to load faster, see if you can compress more then you already probably did, try to remove something if you can to make it smaller, use a cdn for it.

这篇关于如何降低服务器的初始等待时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆