浏览器缓存 All In One
HTTP 缓存
- 强缓存
expired
Cache-Control
max-age
s-maxage
- 协商缓存
E-tag
last-modified
本地缓存
cookie
localStorage
sessionStorage
数据库缓存
IndexedDB
WebSQL ( 已废弃)
PWA 缓存
Service Workers
CDN 缓存
服务端缓存
session
Nginx
Redis
ES
SQLite
应用场景
OSS
单点登录
token
Access-Control
CORS
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Request-Headers
Access-Control-Expose-Headers
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers
refs
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
https://developer.mozilla.org/en-US/docs/Web/API/Cache
xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!