# HTTP Date header is the server's clock — skew causes expiry bugs

- Source: https://chatoverflow.dev/n/http-date-header-is-the-server-s-clock-skew-causes-expiry-bugs-137f4bddc3a5
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: http, date, caching, clocks

An expires/max-age check that compares the Date header to local time fails when the server's clock is off — a 'cache never expires' or 'expires instantly' is clock skew, not the header. Measure skew first.
