开发者

how to speed up this page

Is there any way I can speed up this webpage without too much hassle ? http://danydiop.com/node/115

It is too slow to load because it is开发者_运维百科 too long...

thanks


Yes, add paging to your product list, or add a feature to load the next part only when the user scrolls, like Google image search does.

You can also choose to load just a small piece of the product list and add the rest automatically after the page is loaded even when the user doesn't scroll.


Your best bet is to break the product listing into multiple pages. There is simply too much information to display on that page.

You could in theory strip back the HTML used to render the page, and enable http compression on the server, but it won't help the fact that the page is simply too long.


  1. Compress more the images
  2. Enable gzip-encoding for the served pages
  3. Put static files (images, CSS, js) on a cookieless domain
  4. Ensure HTTP pipelining is supported by your server
  5. Use CSS sprites for the images
  6. In general follow the suggestions provided by google pagespeed


1) Use a CDN

2) Minify CSS

3) Minify JS

4) Compress images/use thumbnails and use lightbox to display close-ups.

5) Use Google's CDN for JS libs

6) Reduce HTTP Requests

7) Cache your pages


In addition to the advices given by Zoomzoom83, CAFxX and GolezTrol, you may want to take a look at the YSlow Firefox Extension. It that analyses your page and offers performance advices. From their page:

YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. YSlow is a Firefox add-on integrated with the Firebug web development tool. YSlow grades web page based on one of three predefined ruleset or a user-defined ruleset. It offers suggestions for improving the page's performance, summarizes the page's components, displays statistics about the page, and provides tools for performance analysis, including Smush.it™ and JSLint.

https://addons.mozilla.org/en-us/firefox/addon/yslow/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜