IVYGOU / UI

前端相关知识
0 stars 0 forks source link

HTTP Caching #10

Open IVYGOU opened 7 years ago

IVYGOU commented 7 years ago

HTTP Caching

Cache-Control directives

IVYGOU commented 7 years ago

Understanding Conditional Requests and Refresh Web browsers make two types of requests over HTTP and HTTPS—conditional requests and unconditional requests. There are a number of reasons why IE might make a conditional request for an item that is already in the cache:

IVYGOU commented 7 years ago

Calculating Heuristic Freshness

Since origin servers do not always provide explicit expiration times, a cache may assign a heuristic expiration time when an explicit time is not specified, employing algorithms that use other header field values (such as the Last-Modified time) to estimate a plausible expiration time.