浏览器卡顿或无反应时可以清理浏览器缓存。
电脑:华为MateBook
系统:Windows10
软件:谷歌浏览器1.0
1、打开谷歌浏览器。
2、选择右上角的三个点功能。
3、选择【更多工具】。
4、选择【清除浏览器】按钮。
5、勾选需要删除的信息。
6、点击【清除数据】按钮,完成清理。
JSP清理缓存的方法:在jsp页里
<%response.setHeader("Pragma","No-cache")
response.setHeader("Cache-Control","no-cache")
response.setDateHeader("Expires", 0)
response.flushBuffer()%>
在html页里:
<meta http-equiv="Content-Type" content="text/htmlcharset=gb2312">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
android开发,用webview打开本地html网页时,清除缓存的方法在oncreate 加上 CookieSyncManager.createInstance(this)CookieSyncManager.getInstance().startSync() CookieManager.getInstance().removeSessionCookie()