上一页 1 ··· 415 416 417 418 419 420 421 422 423 ··· 494 下一页
摘要: We have covered the basics of what is Observable.create, and other creation functions. Now lets finally dive into operators, which are the focus of th 阅读全文
posted @ 2016-05-24 16:23 Zhentiw 阅读(202) 评论(0) 推荐(0)
摘要: Cache the avatars is little different from cache photos. We need to serve the page with our cache data and also go to the network for fetch avatars in 阅读全文
posted @ 2016-05-24 02:51 Zhentiw 阅读(280) 评论(0) 推荐(0)
摘要: sw-toolbox: Github It provides a cononical implementation of all the runtime caching strategies that you need for you dynamice content. sw-precache: G 阅读全文
posted @ 2016-05-23 22:07 Zhentiw 阅读(214) 评论(0) 推荐(0)
摘要: Mainly about Progressive web app: HTTPS Add to home screen Splash screen service worker notifications, bg sync offline notifications, bg sync Service 阅读全文
posted @ 2016-05-22 16:30 Zhentiw 阅读(311) 评论(0) 推荐(0)
摘要: We cannot let photo always keep caching new data without clean the old data. If message is not display on the page anymore, we want to clean it. And a 阅读全文
posted @ 2016-05-22 04:27 Zhentiw 阅读(257) 评论(0) 推荐(0)
摘要: To cache photo, You need to spreate cache db to save the photo. So in wittr example, we cache the text already, if there in the wittr there is photo, 阅读全文
posted @ 2016-05-22 03:50 Zhentiw 阅读(335) 评论(0) 推荐(0)
摘要: When we save items to IndexDB, we need to think about clean the items or keep those in a short list. 阅读全文
posted @ 2016-05-21 22:30 Zhentiw 阅读(188) 评论(0) 推荐(0)
摘要: In this lesson, you will learn how to host a static website on Amazon S3. I will show you how to create the buckets, create the bucket policy to allow 阅读全文
posted @ 2016-05-20 15:11 Zhentiw 阅读(440) 评论(0) 推荐(0)
摘要: We want to use IDB to store the wittr messages. The logic is when the page start: In openDatabase(), we create Wittr db, set id as primary key and tim 阅读全文
posted @ 2016-05-20 00:44 Zhentiw 阅读(233) 评论(0) 推荐(0)
摘要: import idb from 'idb'; var dbPromise = idb.open('test-db', 4, function (upgradeDb) { switch (upgradeDb.oldVersion) { case 0: // keyval store is already created at version 1 ... 阅读全文
posted @ 2016-05-18 04:34 Zhentiw 阅读(227) 评论(0) 推荐(0)
上一页 1 ··· 415 416 417 418 419 420 421 422 423 ··· 494 下一页