All posts with label

`skipWaiting()` with `StaleWhileRevalidate` the right way

Label Image

If the resource request takes too much time to complete, self.skipWaiting() may not work properly.

Gridsome is not that Ready for PWA

Label Image

How I am tring to build a nice gridsome-generated site with PWA support

虽然可以勉强并入“用 Vue 做 PWA”系列,但想着能让更多人看到,就还是用国际语言吧

Header: vue-pwa

用 Vue 做 PWA (三):理解生命周期

虽然前两节的内容足以写出能用的 service worker,但是如果深入细节,仍然会有一些“匪夷所思”的现象发生。

Header: vue-pwa

用 Vue 做 PWA(二):Runtime Caching

本系列已经很久没更新了,在此讨论实践过程中遇到的 Runtime Caching 的一些问题。主要注意点是在处理跨域请求上。

1