Skip to content

Fix cache control recommendations in WSTG section 4.4.6#1291

Merged
kingthorin merged 1 commit intoOWASP:masterfrom
SachinAditya:fix-wstg-4.4.6-cache-headers
Jan 24, 2026
Merged

Fix cache control recommendations in WSTG section 4.4.6#1291
kingthorin merged 1 commit intoOWASP:masterfrom
SachinAditya:fix-wstg-4.4.6-cache-headers

Conversation

@SachinAditya
Copy link
Copy Markdown
Contributor

Fixes #1077

This PR updates section 4.4.6 (Testing for Browser Cache Weaknesses) to align with modern browser behavior and current best practices.

Changes:

  • Recommend Cache-Control: no-store as the primary directive
  • Remove legacy Pragma header usage
  • Clarify the role of must-revalidate and Expires
  • Align recommendations between the Browser History and Browser Cache subsections
  • Add references to MDN and modern guidance

@SachinAditya
Copy link
Copy Markdown
Contributor Author

@kingthorin
I’ve submitted a PR to address this: #1077
Thanks everyone for the discussion and guidance!

@kingthorin
Copy link
Copy Markdown
Collaborator

Got the PR notification, you don't need to comment 😉

Copy link
Copy Markdown
Collaborator

@kingthorin kingthorin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@kingthorin kingthorin merged commit dc8f201 into OWASP:master Jan 24, 2026
@SachinAditya
Copy link
Copy Markdown
Contributor Author

@kingthorin Thanks for the quick review and merge, really appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible error in 4.4.6 Testing for Browser Cache Weaknesses

2 participants