The official account of js Wechat has modified the code.

after Wechat"s official account modifies the code, ios refreshes twice to display the modified style, but Android still shows the original style. what"s going on?


caused by the local wx cache, wx loads the open page (the first page of the link, except open.weixin). This kind of mechanism, for example, the first time you open an alert (), will pop up, and if you close the page and open it again, it will not play, and you need a bit of refresh.
in order to avoid this kind of phenomenon:
1. The resource files referenced by the page need to be distinguished by a version or timestamp;
2. Configure CDN to grab and update node data from the data source at regular intervals.
the version of each Wechat client may be different in this section. It is safe to forcibly shut down the wx process and then open it.

Menu