Home > Web Front-end > HTML Tutorial > Clear WeChat browser cache_html/css_WEB-ITnose

Clear WeChat browser cache_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:42:16
Original
1363 people have browsed it

When doing mobile web development, it is inevitable to use WeChat to scan the page for debugging. The Android version of WeChat browser has always cached HTML static resources by default. Every time the static resources change or even new content is released, the WeChat browser It is very likely that the app will not be updated, and you often have to clear the WeChat cache to see the effect, which is very annoying. Some customers have installed QQ Browser, and WeChat actually calls QQ Browser. Sometimes even clearing the WeChat cache is ineffective, and the cache of QQ Browser must also be cleared.

The solution is to add the following header information during the debugging phase or frequently updated pages

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /><meta http-equiv="Pragma" content="no-cache" /><meta http-equiv="Expires" content="0" />
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template