firefox - Why does the expiration date of the request cache lie in the past? -
i working on caching pages , noticed in firebug:
so says cache expired 45 years ago. bug or bad data?
i have page caching correctly
i not understand why saying expires ... 1970
. page won't cache @ on site, though i'm using boost module drupal.
if expires
header set 0
, browser interprets 1 january 1970, relates unix time aka posix time. because date lies in past, means request not cached.
the expires
header defined within rfc 7234, includes paragraph related statement above:
a cache recipient must interpret invalid date formats, value "0", representing time in past (i.e., "already expired").
Comments
Post a Comment