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

Scriptable cache

Jan 14, 2015

Download

Technology

yongwoo Jeon

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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일 목요일