close

EngineYard Blog 10/13 發表的一篇文章:Rails in the Wild: 5 Client-Side Performance Observations

五個重點:

1. It’s easy to forget to compress your JavaScript and CSS

要記得 :cache => true

2. Watch out for slow third party services

都是慢在第三方

3. Using multiple image hosts doesn’t always mean higher performance

拆那麼多台未必會比較快

4. S3 is NOT a Webserver!

S3 是 storage ,不是 web server。所以不要一股腦的把東西往上丟,要注意有沒有敏感資訊,而且 s3p 是沒有幫忙做 gzip 的。

5. Most performance variability is NOT attributable to page factors

速度慢通常是慢在後端..


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 rails 的頭像
    rails

    Always on Rails

    xdite 發表在 痞客邦 留言(0) 人氣()