代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>HTML5离线存储 | Interview</title>
<meta name="description" content="Interview with vitePress">
<link rel="stylesheet" href="/t-blog/assets/style.c069affc.css">
<link rel="modulepreload" href="/t-blog/assets/Home.00b10290.js">
<link rel="modulepreload" href="/t-blog/assets/app.a747ab4f.js">
<link rel="modulepreload" href="/t-blog/assets/HTML_advanced.md.3c922e72.lean.js">
<link rel="modulepreload" href="/t-blog/assets/app.a747ab4f.js">
<link rel="icon" href="/favicon.ico">
<meta name="twitter:title" content="HTML5离线存储 | Interview">
<meta property="og:title" content="HTML5离线存储 | Interview">
</head>
<body>
<div id="app"><!--[--><div class="theme"><header class="nav-bar" data-v-7161a24b><div class="sidebar-button" data-v-7161a24b><svg class="icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z" class></path></svg></div><a class="nav-bar-title" href="/t-blog/" aria-label="Interview, back to home" data-v-7161a24b data-v-4a583abe><!----> Interview</a><div class="flex-grow" data-v-7161a24b></div><div class="nav" data-v-7161a24b><nav class="nav-links" data-v-7161a24b data-v-15acbf05><!--[--><div class="item" data-v-15acbf05><div class="nav-link" data-v-15acbf05 data-v-641633f9><a class="item isExternal" href="https://www.cooldream.fun/home" target="_blank" rel="noopener noreferrer" data-v-641633f9>我的个人网站 <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-641633f9><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="item" data-v-15acbf05><div class="nav-link" data-v-15acbf05 data-v-641633f9><a class="item isExternal" href="https://juejin.cn/user/1855631359481847/posts" target="_blank" rel="noopener noreferrer" data-v-641633f9>掘金 <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-641633f9><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="item" data-v-15acbf05><div class="nav-link" data-v-15acbf05 data-v-641633f9><a class="item isExternal" href="https://github.com/Jack-Star-T" target="_blank" rel="noopener noreferrer" data-v-641633f9>Github <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-641633f9><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><!--]--><!----><!----></nav></div><!--[--><!--]--></header><aside class="sidebar" data-v-6b49cdcd><nav class="nav-links nav" data-v-6b49cdcd data-v-15acbf05><!--[--><div class="item" data-v-15acbf05><div class="nav-link" data-v-15acbf05 data-v-641633f9><a class="item isExternal" href="https://www.cooldream.fun/home" target="_blank" rel="noopener noreferrer" data-v-641633f9>我的个人网站 <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-641633f9><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="item" data-v-15acbf05><div class="nav-link" data-v-15acbf05 data-v-641633f9><a class="item isExternal" href="https://juejin.cn/user/1855631359481847/posts" target="_blank" rel="noopener noreferrer" data-v-641633f9>掘金 <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-641633f9><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="item" data-v-15acbf05><div class="nav-link" data-v-15acbf05 data-v-641633f9><a class="item isExternal" href="https://github.com/Jack-Star-T" target="_blank" rel="noopener noreferrer" data-v-641633f9>Github <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-641633f9><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><!--]--><!----><!----></nav><!--[--><!--]--><ul class="sidebar-links" data-v-6b49cdcd><!--[--><li class="sidebar-link"><p class="sidebar-link-item">HTML</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/HTML/">基础</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item active" href="/t-blog/HTML/advanced">进阶</a><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="#html5离线存储">HTML5离线存储</a><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="#html5的离线储存怎么使用,它的工作原理是什么">HTML5的离线储存怎么使用,它的工作原理是什么</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="#浏览器是如何对-html5-的离线储存资源进行管理和加载">浏览器是如何对 HTML5 的离线储存资源进行管理和加载</a><!----></li></ul></li><li class="sidebar-link"><a class="sidebar-link-item" href="#无样式内容闪烁(fouc)flash-of-unstyle-content">无样式内容闪烁(FOUC)Flash of Unstyle Content</a><!----></li></ul></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">CSS</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/CSS/">基础</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/CSS/advanced">进阶</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Javascript</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Javascript/">基础</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Javascript/advanced">进阶</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Vue</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Vue/">基础</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Vue/advanced">进阶</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">浏览器</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Vue/">基础</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Vue/advanced">进阶</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">网络</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Network/">基础</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Network/advanced">进阶</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">安全</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Security/">基础</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Security/advanced">进阶</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">面经</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Experience/">基础</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/t-blog/Experience/advanced">进阶</a><!----></li></ul></li><!--]--></ul><!--[--><!--]--></aside><!-- TODO: make this button accessible --><div class="sidebar-mask"></div><main class="page" data-v-7eddb2c4><div class="container" data-v-7eddb2c4><!--[--><!--]--><div style="position:relative;" class="content" data-v-7eddb2c4><div><h2 id="html5离线存储"><a class="header-anchor" href="#html5离线存储" aria-hidden="true">#</a> HTML5离线存储</h2><h3 id="html5的离线储存怎么使用,它的工作原理是什么"><a class="header-anchor" href="#html5的离线储存怎么使用,它的工作原理是什么" aria-hidden="true">#</a> HTML5的离线储存怎么使用,它的工作原理是什么</h3><h3 id="浏览器是如何对-html5-的离线储存资源进行管理和加载"><a class="header-anchor" href="#浏览器是如何对-html5-的离线储存资源进行管理和加载" aria-hidden="true">#</a> 浏览器是如何对 HTML5 的离线储存资源进行管理和加载</h3><h2 id="无样式内容闪烁(fouc)flash-of-unstyle-content"><a class="header-anchor" href="#无样式内容闪烁(fouc)flash-of-unstyle-content" aria-hidden="true">#</a> 无样式内容闪烁(FOUC)Flash of Unstyle Content</h2></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-fb8d84c6><div class="edit" data-v-fb8d84c6><div class="edit-link" data-v-fb8d84c6 data-v-1ed99556><!----></div></div><div class="updated" data-v-fb8d84c6><!----></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/t-blog/HTML/" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>基础</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/t-blog/CSS/" data-v-38ede35f><span class="text" data-v-38ede35f>基础</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"index.md\":\"9526c2f8\",\"css_advanced.md\":\"b4514e32\",\"css_index.md\":\"1886c3ca\",\"html_advanced.md\":\"3c922e72\",\"html_index.md\":\"dbc74871\",\"javascript_advanced.md\":\"338d31ad\",\"javascript_index.md\":\"71bdd912\"}")</script>
<script type="module" async src="/t-blog/assets/app.a747ab4f.js"></script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。