-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repo: Make summary and signature mtime match
HTTP servers derive Last-Modified from the modification time of the file. When used in combination with a Cache-Control max-age value, having the modification times match means that caches will consider them expired at the same time. This helps make it more likely that clients won't receive a cached summary and fresh signature or vice versa. This makes more sense to do now that the summary and signature are created in a temporary directory and renamed into place. In the old days where they were created directly in the repo root, it would be strange to change the summary mtime when it wasn't actually modified.
- Loading branch information
1 parent
ffbeff6
commit 60f4592
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters