Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EXPIRES info with clock skew #37745

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ericlaw1979
Copy link

Firefox and Chromium adjust the EXPIRES value with the computed clock-skew as calculated using the response's DATE header.

Description

Updates the info for the EXPIRES header to note that while EXPIRES is computed against the client clock, the initial value is adjusted based on the server's date.

Motivation

The clock-skew adjustment in Chrome and Firefox doesn't appear to be documented anywhere and it comes as a surprise to web devleopers.

Additional details


Related issues and pull requests

Firefox and Chromium adjust the EXPIRES value with the computed clock-skew as calculated using the response's DATE header.
@ericlaw1979 ericlaw1979 requested a review from a team as a code owner January 21, 2025 22:08
@ericlaw1979 ericlaw1979 requested review from hamishwillee and removed request for a team January 21, 2025 22:08
@github-actions github-actions bot added Content:HTTP HTTP docs size/xs [PR only] 0-5 LoC changed labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:HTTP HTTP docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant