because I am a Wechat H5 developer, I often encounter the problem of using debugx5.qq.com
to clean the cache, but the iOS cannot be cleared, so I have to log in to Wechat again.
I know that caching can be avoided by adding a timestamp, but if the access address is fixed, how to ensure that each access is a new address?
in addition, what is the better way to handle the caching of script tags, link tags and img tags within html, because if js is written to the bottom of body, the dom is rendered and the request should be sent? will the second request be sent if you use js to modify the suffix ? t = timestamp
? But if you write it in head, and dom hasn"t rendered yet, you can"t get the elements inside. Is there a good solution?