Skip to content

HenryC-3/broswer-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

前言

配合 轻松理解浏览器缓存(Koa缓存源码解析) 食用

如何使用?

  1. npm run dev,访问 http://127.0.0.1:3000/static
  2. 打开浏览器调试工具,点击 Network 栏,刷新页面。点击资源查看请求头、响应头,重点关注状态码及以下字段
请求头 响应头 常见形式
Cache-Control Cache-Control Cache-Control: max-age=10
If-Modified-Since Last-Modified Thu, 04 Mar 2021 01:52:13 GMT
If-None-Match ETag W/"1a0-177faef76f0"

知识点

点击链接跳转至 轻松理解浏览器缓存(Koa缓存源码解析) 对应章节

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published