Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第 55 题:缓存 #76

Open
ravencrown opened this issue Oct 10, 2019 · 0 comments
Open

第 55 题:缓存 #76

ravencrown opened this issue Oct 10, 2019 · 0 comments

Comments

@ravencrown
Copy link
Owner

缓存

其实缓存是一个很“大”的概念,尤其 Web 缓存分为很多种。比如:

  • 数据库缓存
  • (代理)服务器缓存
  • CDN 缓存
  • 浏览器缓存

对于浏览器缓存的分类,分类方式有很多,按缓存位置分类,我们有:

  • memory cache
  • disk cache
  • Service Worker

如果按失效策略分类,我们有:

  • 强缓存
  • 协商缓存

image

参考

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant