如果您的应用程序访问的数据不常更新,例如用户的配置文件,那就应该实现缓存。
If your application is accessing data that isn't updated often, such as a user's profile, you should implement caching.
创建过程涉及一个关键文件:您的应用程序的缓存清单。
One key file is involved: the cache manifest for your application.
在缓存清单中列出的文件存储在应用程序缓存中,类似浏览器的标准磁盘缓存但是更为健壮。
The files listed in the cache manifest get stored in the application cache, which is like the browser's standard disk cache but much more robust.
应用推荐