开发者

how can i make my webpage load faster with or without jquery and php

开发者 https://www.devze.com 2023-02-15 04:31 出处:网络
i was wondering about fast page load for google and facebook. how it is possible... If we say they have high qui开发者_运维知识库lified servers then visit http://www.iconarchive.com/ and type some thi

i was wondering about fast page load for google and facebook. how it is possible... If we say they have high qui开发者_运维知识库lified servers then visit http://www.iconarchive.com/ and type some thing in its search box and hit enter and see the same load time as google and facebook.

let me know about that rocket science.


There are a ton of ways to optimize pageload times.

You can use tools like yslow for firebug to learn and test some of them. On top of that there is a gazillion books and blogposts about it, and if you search here on SO you will also find tons of information about it.

I will give you a hint though: it is not rocketscience, but it is not simple enough to fit easily into a single post like this - read, study and learn :)

Here is a place to start:

http://developer.yahoo.com/performance/rules.html


Facebook use HipHop PHP and a lot of servers. But HipHop is very fast.

Google use some storage engines and search engines for very fast search restults that are scaled on many systems.


You should minify your javascript with Jsmin or yui. This helps and saves bandwidth. You should enable compression on your webserver, take a look at mod_deflate if you are using apache2. You also could upgrade hardware on your server, but optimizing code gives generaly better results.

Finaly, take a look at the firefox page speed extension. This extension will give you hints on what to optimize.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号