Ray's playground

 

2009年10月14日

Rule 7: Avoid CSS Expressions7(Chapter 7 of High performance Web Sites)

摘要: The problem with expressions is that they are evaluated more frequently than mostpeople expect.Not only are they evaluated whenever the page is rendered andresized, but also when the page is scrolled ... 阅读全文

posted @ 2009-10-14 21:18 Ray Z 阅读(224) 评论(0) 推荐(0) 编辑

2009年10月13日

Rule 6: Put Scripts at the Bottom(Chapter 6 of High performance Web Sites)

摘要: The best place to put scripts is at the bottom of the page.The page contents aren’tblocked from rendering, and the viewable components in the page are downloadedas early as possible. 阅读全文

posted @ 2009-10-13 21:41 Ray Z 阅读(213) 评论(0) 推荐(0) 编辑

2009年10月12日

Rule 5: Put Stylesheets at the Top(Chapter 5 of High performance Web Sites)

摘要: Frontend engineers who care about performance want a page to load progressively;that is, we want the browser to display whatever content it has as soon as possible.This is especially important for pag... 阅读全文

posted @ 2009-10-12 23:00 Ray Z 阅读(259) 评论(0) 推荐(0) 编辑

2009年10月3日

Rule 4: Gzip Components(Chapter 4 of High performance Web Sites)

摘要: Rule 4, examined in this chapter, reduces response times by reducing the size of theHTTP response.If an HTTP request results in a smaller response, the transfer timedecreases because fewer packets mus... 阅读全文

posted @ 2009-10-03 17:06 Ray Z 阅读(340) 评论(0) 推荐(0) 编辑

2009年10月2日

C++ templates chapter 9(Names in Templates)

摘要: I don't understand this chapter well.Maybe I need to read it again.Name Taxonomy (part one)ClassificationExplanation and NotesIdentifierA name that consists solely of an uninterrupted sequences of let... 阅读全文

posted @ 2009-10-02 22:12 Ray Z 阅读(313) 评论(0) 推荐(0) 编辑

2009年9月28日

C++ templates chapter 8(Fundamentals in Depth)

摘要: C++ currently supports two fundamental kinds of templates: class templates and function templates. This classification includes member templates. Such templates are declared much like ordinary classes... 阅读全文

posted @ 2009-09-28 21:54 Ray Z 阅读(322) 评论(0) 推荐(0) 编辑

Rule 3: Add an Expires Header(Chapter 3 of High performance Web Sites)

摘要: Fast response time is not your only consideration when designing web pages.If itwere, then we’d all take Rule 1 to an extreme and place no images, scripts, orstylesheets in our pages.However, we... 阅读全文

posted @ 2009-09-28 00:00 Ray Z 阅读(411) 评论(0) 推荐(0) 编辑

2009年9月26日

Rule 2: Use a Content Delivery Network(Chapter 2 of High performance Web Sites)

摘要: A content delivery network (CDN) is a collection of web servers distributed acrossmultiple locations to deliver content to users more efficiently.This efficiency is typicallydiscussed as a performance... 阅读全文

posted @ 2009-09-26 20:42 Ray Z 阅读(291) 评论(0) 推荐(0) 编辑

2009年9月25日

Rule 1: Make Fewer HTTP Requests(Chapter 1 of High performance Web Sites)

摘要: The rules described in later chapters also present guidelines that help reduce the number ofHTTP requests, but they focus primarily on subsequent page views.Image Maps[代码]CSS Sprites[代码]Inline Images[... 阅读全文

posted @ 2009-09-25 21:27 Ray Z 阅读(365) 评论(0) 推荐(0) 编辑

HTTP Overview(Chapter B of High performance Web Sites)

摘要: HTTP is a client/server protocol made up of requests and responses.A browsersends an HTTP request for a specific URL, and a server hosting that URL sends backan HTTP response.Like many Internet servic... 阅读全文

posted @ 2009-09-25 20:42 Ray Z 阅读(241) 评论(0) 推荐(0) 编辑

导航