scriptable cache

14
Scriptable Cache 전용우 12년 4월 19일 목요일

Upload: yongwoo-jeon

Post on 14-Jan-2015

662 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Scriptable cache

Scriptable Cache전용우

12년 4월 19일 목요일

Page 2: Scriptable cache

http://www.flickr.com/photos/global-jet/483825828/sizes/o/in/photostream/

Performance

http://www.flickr.com/photos/marirn/3182936073/

12년 4월 19일 목요일

Page 3: Scriptable cache

Network

http://www.flickr.com/photos/flixel/5340554293/

12년 4월 19일 목요일

Page 4: Scriptable cache

Efficient Cache

12년 4월 19일 목요일

Page 5: Scriptable cache

BrowserCache

12년 4월 19일 목요일

Page 6: Scriptable cache

App Cache

12년 4월 19일 목요일

Page 7: Scriptable cache

Scriptable Cache

12년 4월 19일 목요일

Page 8: Scriptable cache

<script type=”text/javascript” src=”http://static.naver.com/js/jindo.js”> </script>

var script = localStorage["jindo.js"];if(!script){    //Ajax...    localStorage["jindo.js"] = script;}

var jindo = document.createElement("script");jindo.text = script;

document.body.appendChild(jindo);

12년 4월 19일 목요일

Page 9: Scriptable cache

Silver Bullet?

12년 4월 19일 목요일

Page 10: Scriptable cache

ChristianHeilmann

localStorage은조심해야되.

1. 초기에 데이터 읽음

2. 동기적 실행

3. 시스탬의 의존

12년 4월 19일 목요일

Page 11: Scriptable cache

Database(indexedDB, webSQL)

12년 4월 19일 목요일

Page 12: Scriptable cache

Nicholas C. Zakas

잉? 이건 브라우저의 구현 문제자나?

1.초기에 안 읽으면 됨.

2. 비동기적 실행.

3. indexedDB? 먹는거임?

12년 4월 19일 목요일

Page 13: Scriptable cache

결론?

12년 4월 19일 목요일

Page 14: Scriptable cache

감사합니다.

12년 4월 19일 목요일