'Do responses get cached even if there is no cache-control header?
Solution 1:[1]
This is addressed in Section 4.2.2 of RFC 7234:
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-Modifiedtime) to estimate a plausible expiration time.
And, indeed, browsers do this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Kevin Christopher Henry |

