- Progressive Web Apps with React
- Scott Domes
- 218字
- 2021-07-08 09:36:12
Instant loading
With Progressive Web Apps, we aim to provide an experience that is closer to a native app (one downloaded from the Apple App Store, Google Play Store, or another app store) than your typical web application. One of the advantages native apps have, of course, is that all relevant files are predownloaded and installed, while each time a user visits a web application, they may have to download all the assets again.
The solution? When the user first visits the page, download those assets and then save them for later (also known as caching). Then, when the user reopens the application, instead of downloading the files again over the internet (slow), we simply retrieve them from the user's device (fast).
However, this only works for when the user revisits the application. For the initial visit, we still have to download everything. This situation is particularly precarious, because when the user first visits Chatastrophe, they're not yet sold on its value, and so, are likely to leave (for good) if loading takes too long.
We need to ensure that our assets are as optimized as possible, and we download as little as possible on that first visit, so that the user stays around.
In short, fast loading for the first visit, near-instant loading for every subsequent visit.
- Mastering NetBeans
- 嵌入式軟件系統測試:基于形式化方法的自動化測試解決方案
- C語言程序設計基礎與實驗指導
- C和C++安全編碼(原書第2版)
- NumPy Essentials
- Java程序設計與計算思維
- Java Web程序設計
- 假如C語言是我發明的:講給孩子聽的大師編程課
- 用Python實現深度學習框架
- C++ 從入門到項目實踐(超值版)
- Jenkins Continuous Integration Cookbook(Second Edition)
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- Android應用開發深入學習實錄
- 零基礎看圖學ScratchJr:少兒趣味編程(全彩大字版)
- Oracle Database XE 11gR2 Jump Start Guide