Skip to content

fix(http): clarify max-age Cache-Control sections#44117

Open
Ashish-CodeJourney wants to merge 1 commit into
mdn:mainfrom
Ashish-CodeJourney:fix-cache-control-max-age-search
Open

fix(http): clarify max-age Cache-Control sections#44117
Ashish-CodeJourney wants to merge 1 commit into
mdn:mainfrom
Ashish-CodeJourney:fix-cache-control-max-age-search

Conversation

@Ashish-CodeJourney
Copy link
Copy Markdown
Contributor

Description

Clarifies the duplicate max-age headings on the Cache-Control reference page by distinguishing the response and request directives. Also links the caching guide’s max-age
explanation directly to the Cache-Control response directive section.

Motivation

Searching for max-age did not surface the most relevant Cache-Control response directive section clearly. Making the heading more specific and adding a direct guide link
should 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.md
  • npx --no-install prettier -c files/en-us/web/http/reference/headers/cache-control/index.md files/en-us/web/http/guides/caching/index.md
  • git diff --check

Related issues and pull requests

Fixes #44095

@Ashish-CodeJourney Ashish-CodeJourney requested a review from a team as a code owner May 14, 2026 07:54
@Ashish-CodeJourney Ashish-CodeJourney requested review from pepelsbey and removed request for a team May 14, 2026 07:54
@github-actions github-actions Bot added Content:HTTP HTTP docs size/s [PR only] 6-50 LoC changed labels May 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

Preview URLs (2 pages)

(comment last updated: 2026-05-15 05:05:36)

@Ashish-CodeJourney Ashish-CodeJourney force-pushed the fix-cache-control-max-age-search branch from 8db6422 to e0c4d91 Compare May 15, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTTP HTTP docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Searching for max-age to find information about cache-control doesn't work well

2 participants