(window.webpackJsonp=window.webpackJsonp||[]).push([[241],{466:function(t,e,s){"use strict";s.r(e);var n=s(42),a=Object(n.a)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"清除缓存"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#清除缓存"}},[t._v("#")]),t._v(" 清除缓存")]),t._v(" "),s("div",{staticClass:"custom-block warning"},[s("p",{staticClass:"custom-block-title"},[t._v("WARNING")]),t._v(" "),s("p",[s("code",[t._v("knife4j")]),t._v(" 版本>2.0.1 使用此规则")])]),t._v(" "),s("p",[t._v("在文档升级、或者产生一些莫名其妙的问题时,大家可以点击文档右上角的清除缓存操作,如下图")]),t._v(" "),s("p",[s("img",{attrs:{src:"/knife4j/images/knife4j/plus/clearCache.png",alt:""}})]),t._v(" "),s("p",[s("code",[t._v("Knife4j")]),t._v("的缓存全部存储在浏览器中的IndexedDB中,所以,通过浏览器的强制刷新等操作是无法起到清理缓存的作用的")]),t._v(" "),s("p",[t._v("缓存位置如下图：")]),t._v(" "),s("p",[s("img",{attrs:{src:"/knife4j/images/knife4j/plus/cacheLocation.png",alt:""}})]),t._v(" "),s("p",[t._v("你也可以手工删除该缓存值,然后再刷新"),s("code",[t._v("Knife4j")]),t._v("的文档查看文档效果")]),t._v(" "),s("comment-comment")],1)}),[],!1,null,null,null);e.default=a.exports}}]);