H5-based page updating method and system
The invention provides an H5-based page updating method and system, and the method comprises the steps that: a background generates a dynamic file and a static file which contain the same identification information, the dynamic file is arranged on a web server, and the static file is arranged on an...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides an H5-based page updating method and system, and the method comprises the steps that: a background generates a dynamic file and a static file which contain the same identification information, the dynamic file is arranged on a web server, and the static file is arranged on an oss cloud server; the user side obtains the dynamic file from the web server and obtains the corresponding static file from the oss cloud server according to the identification information in the obtained dynamic file; and the user side performs page updating according to the obtained dynamic file and static file, so that the problem that the user cannot immediately update the version to the latest version after the version is updated is solved, and the user experience is improved.
本发明提供的一种基于H5的页面更新方法及系统,通过后台生成包含有相同标识信息的动态文件和静态文件,并将所述动态文件设置于web服务器上,将所述静态文件设置于oss云服务器上;用户端从所述web服务器获取动态文件,并根据获取的动态文件中的标识信息从所述oss云服务器获取相应的静态文件;用户端根据获取的动态文件和静态文件进行页面更新,解决了版本更新后用户不能马上更新到最新版本的问题,提高用户体验。 |
---|