05 2012 档案

摘要:blockquote::after {content: "”0201D";font-size: 300%;position: absolute;right: -40px;bottom: -10px;color: #9198C1;} blockquote::before {content: "“0201C";font-size: 300%;float: left;margin-left: -40px;margin-top: 10px;color: #9198C1;} 阅读全文
posted @ 2012-05-29 17:14 老西 阅读(366) 评论(0) 推荐(0)
摘要:【转】http://developer.yahoo.com/performance/rules.htmlMinimize HTTP Requeststag: content80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. Reducing the number of components i 阅读全文
posted @ 2012-05-09 11:12 老西 阅读(215) 评论(0) 推荐(0)
摘要:aslabs的Justin Silverton列出了十条有关优化MySQL查询的语句,我不得不对此发表言论,因为这个清单非常非常糟糕。另外一个Mike也同样意识到了。所以在这个博客中,我要做两件事情,第一,指出为什么这个清单很糟糕,第二,列出我的清单,希望我的比较好些。继续看吧,无畏的读者们! (译者注:作者借这个题目反讽另一篇同名的文章) 为什么那个清单很糟糕 1.他的力气没使对地方 我们要遵循的一个准则就是如果你要优化代码时,应该先找出瓶颈在哪。然而Silverton先生的力气没有用对地方。我认为60%的优化是基于清楚 理解SQL和数据库基础的。你需要知道join和子查询的区别,列... 阅读全文
posted @ 2012-05-02 14:49 老西 阅读(166) 评论(0) 推荐(0)