fix(http): clarify max-age Cache-Control sections#44117
Open
Ashish-CodeJourney wants to merge 1 commit into
Open
fix(http): clarify max-age Cache-Control sections#44117Ashish-CodeJourney wants to merge 1 commit into
Ashish-CodeJourney wants to merge 1 commit into
Conversation
Contributor
|
Preview URLs (2 pages) (comment last updated: 2026-05-15 05:05:36) |
8db6422 to
e0c4d91
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Clarifies the duplicate
max-ageheadings on theCache-Controlreference page by distinguishing the response and request directives. Also links the caching guide’smax-ageexplanation directly to the
Cache-Controlresponse directive section.Motivation
Searching for
max-agedid not surface the most relevantCache-Controlresponse directive section clearly. Making the heading more specific and adding a direct guide linkshould help readers find the correct reference entry.
Additional details
Tested with:
npx --no-install markdownlint-cli2 files/en-us/web/http/reference/headers/cache-control/index.md files/en-us/web/http/guides/caching/index.mdnpx --no-install prettier -c files/en-us/web/http/reference/headers/cache-control/index.md files/en-us/web/http/guides/caching/index.mdgit diff --checkRelated issues and pull requests
Fixes #44095