html5 - 用localStorage做webapp的缓存,如何解决更新的问题?
PHP中文网
PHP中文网 2017-04-17 13:19:49
0
2
575
PHP中文网
PHP中文网

认证0级讲师

reply all(2)
阿神

Since the client can receive updates from your application, it is guaranteed to be online.
You can update the content in localstorage while updating the program

黄舟

You can set a flag similar to version information in localstorage. Each time you connect to the Internet, you can use the flag to decide whether localstorage needs to be updated

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!