Archive for May, 2007

anti spam

May 13th, 2007

加了个anti spam plugin
让世界清净下来
什么用户体验,全当放屁

14 rules for fast web pages

May 13th, 2007

source:
http://www.skrenta.com/2007/05/14_rules_for_fast_web_pages_by_1.html

14 rules for fast web pages

Steve Souders of Yahoo’s “Exceptional Performance Team” gave an insanely great presentation at Web 2.0 about optimizing website performance by focusing on front end issues. Unfortunately I didn’t get to see it in person but the Web 2.0 talks have just been put up and the ppt is fascinating and absolutely a must-read for anyone involved in web products.

His work has been serialized on the Yahoo user interface blog, and will also be published in an upcoming O’Reilly title (est publish date: Sep 07).

We have so much of this wrong at topix now that it makes me want to cry but you can bet I’ve already emailed this ppt to my eng team. :) Even if you’re pure mgmt or product marketing you need to be aware of these issues and how they directly affect user experience. We’ve seen a direct correlation between site speed and traffic.

This is a big presentation, with a lot of data in it (a whole book’s worth apparently), but half way through he boils it down into 14 rules for faster front end performance:

1. Make fewer HTTP requests 减少http请求
2. Use a CDN 使用CDN(Content Delivery Network)
3. Add an Expires header 为页面header加上过期失效标识
4. Gzip components 使用Gzip压缩
5. Put CSS at the top 将CSS置于页面顶部
6. Move JS to the bottom 将JS放到页脚
7. Avoid CSS expressions 避免使用CSS expressions(典型的用法是css中混杂js)
8. Make JS and CSS external 站外引用JS和CSS
9. Reduce DNS lookups 减少DNS查询
10. Minify JS 精简JS代码
11. Avoid redirects 避免重定向
12. Remove duplicate scripts 去掉重复脚本代码
13. Turn off ETags 关闭掉Etags
14. Make AJAX cacheable and small 使ajax可缓存并尽可能的精简

The full talk has details on what all of these mean in practice. The final slide of the deck is a set of references and resources, which I’ve pulled out here for clickability:

参考:
http://developer.yahoo.net/blog/archives/2007/03/high_performanc.html
http://www.oreilly.com/catalog/9780596514211/
http://www.slideshare.net/techdude/high-performance-web-sites/

陈奕迅–富士山下

May 1st, 2007

以后K歌又多了一个招牌

=========================

富士山下
作曲:christopher chak
填词:林夕
编曲:陈珀 c.y. kong
监制:alvin leong

拦路雨偏似雪花
饮泣的你冻吗
这风褛我给你磨到有襟花
连调了职也不怕
怎么始终牵挂
苦心选中今天想车你回家
原谅我不再送花
伤口应要结疤
花瓣铺满心里坟场才害怕
如若你非我不嫁
彼此终必火化
一生一世等一天需要代价
谁都只得那双手
靠拥抱亦难任你拥有
要拥有必先懂失去怎接受
曾沿着雪路浪游
为何为好事泪流
谁能凭爱意要富士山私有
何不把悲哀感觉
假设是来自你虚构
试管里找不到它染污眼眸
前尘硬化像石头
随缘地抛下便逃走
我绝不罕有
往街里绕过一周
我便化乌有
情人节不要说穿
只敢抚你发端
这种姿态可会令你更心酸
留在汽车里取暖
应该怎么规劝
怎么可以将手腕忍痛划损
人活到几岁算短
失恋只有更短
归家需要几里路谁能预算
忘掉我跟你恩怨
樱花开了几转
东京之旅一早比一世遥远
靠拥抱亦难为你拥有
你还嫌不够
我把这陈年风褛
送赠你解咒