官术网_书友最值得收藏!

Should you polyfil response caching?

Request caching can also be polyfiled using IndexedDB. However, now that most browsers support service workers and caching, I don't think this approach has a wise use of resources. Outside of mobile use, Internet Explorer is the main browser without service worker support. At the time of writing this book, IE should really be used primarily in enterprises when their line of business applications have not been upgraded to modern standards.

This means a very small percentage of potential users that may open your PWA will do so in a browser without service worker support. When they do, it is pretty safe to say that they are most likely on a desktop of some sort with a reliable network connection.

Despite developing hundreds of applications using an early implementation of client-side asset caching, I have officially deprecated this approach from my recommendations.

主站蜘蛛池模板: 维西| 梁平县| 丹江口市| 汉源县| 华容县| 福建省| 湛江市| 平湖市| 博客| 呼图壁县| 碌曲县| 红安县| 遂川县| 福清市| 克拉玛依市| 和平区| 巴马| 宾阳县| 海城市| 兴宁市| 龙里县| 翁牛特旗| 九龙县| 垣曲县| 普陀区| 内乡县| 旺苍县| 广西| 精河县| 磐安县| 兴山县| 全州县| 宁津县| 安龙县| 彰武县| 永年县| 宜君县| 南丹县| 上林县| 赣州市| 巴马|