Contenu connexe
Similaire à 思い通りにいかないのがWebなんて 割り切りたくないから (Gunma.web #4 2011/02/12) (20)
Plus de parrotstudio (14)
思い通りにいかないのがWebなんて 割り切りたくないから (Gunma.web #4 2011/02/12)
- 1. 思い通りにいかないのがWebなんて
割り切りたくないから
Present by ぱろっと(@parrot_studio)
for Gunma.web #4
2011/02/12
- 3. Recent Work
・rdgc-dm 0.2.2
2011/01/22 Released!!
・“RO”gue #2 - The White Maze -
Coming Soon ...?
・Trying to make something with “Scala”
- 17. 描画時間 サーバサイド 全描画
(sec) 処理 (外部を除く)
Hatena 0.659 1.44
(<1.0)
RO(FC2) 0.649 6.6
(>5.0)
※外部:TwitterのBlogパーツや広告等
- 29. まとめる
div#icon_blue {
width: 10px;
height: 10px;
background-image: url(/icons.png);
background-repeat: no-repeat;
background-position: 0 -20px;
}
- 37. APIの結果をキャッシュしよう!
var cache = {};
var get_addr_list = function(cd){
// キャッシュされていなかったら通信してGET
if (! cache[cd]) {
cache[cd] = $.getJSON(url, {p: cd});
}
return cache[cd];
}
- 45. デザイナー
サーバ担当
プログラマー
それぞれできることがある
- 51. でも、Expiresヘッダを使えば
指定された期間通信しない
# Apacheの例
ExpiresActive On
ExpiresType image/png “access plus 1 year”