https://www.cnblogs.com/chenqf/p/6386163.html
1.http緩存:
強制緩存:Cache-Control:public/private/no-cache/no-store/max-age=xxx
Expires過期時間,絕對時間服務器時間有本地時間不一致會導致緩存失效
協商緩存: Etag <----> If-None-Match
Last-modify<----->If-Modify-since
優先級:Cache-Control>Expires>Etag>Last-modify
2.瀏覽器的緩存:webStorage(localStorage、sessionStorage)
cookie