Skip to content

Update Web Content Caching section with Clear-Site-Data#2009

Merged
mackowski merged 3 commits intoOWASP:masterfrom
r3dg33k:Clear-Site-Data-header
Feb 27, 2026
Merged

Update Web Content Caching section with Clear-Site-Data#2009
mackowski merged 3 commits intoOWASP:masterfrom
r3dg33k:Clear-Site-Data-header

Conversation

@r3dg33k
Copy link
Contributor

@r3dg33k r3dg33k commented Feb 16, 2026

Expanded section on web content caching to include Clear-Site-Data header usage for session cleanup.

You're A Rockstar

Thank you for submitting a Pull Request (PR) to the Cheat Sheet Series.

🚩 If your PR is related to grammar/typo mistakes, please double-check the file for other mistakes in order to fix all the issues in the current cheat sheet.

Please make sure that for your contribution:

  • In case of a new Cheat Sheet, you have used the Cheat Sheet template.
  • All the markdown files do not raise any validation policy violation, see the policy.
  • All the markdown files follow these format rules.
  • All your assets are stored in the assets folder.
  • All the images used are in the PNG format.
  • Any references to websites have been formatted as [TEXT](URL)
  • You verified/tested the effectiveness of your contribution (e.g., the defensive code proposed is really an effective remediation? Please verify it works!).
  • The CI build of your PR pass, see the build status here.

If your PR is related to an issue, please finish your PR text with the following line:

This PR fixes issue #<REPLACE WITH ISSUE NUMBER>.

AI Tool Usage Disclosure (required for all PRs)

Please select one of the following options:

  • [*] I have NOT used any AI tool to generate the contents of this PR.
  • I have used AI tools to generate the contents of this PR. I have verified
    the contents and I affirm the results. The LLM used is [llm name and version]
    and the prompt used is [your prompt here]. [Feel free to add more details if needed]

Thank you again for your contribution 😃

Expanded section on web content caching to include Clear-Site-Data header usage for session cleanup.
jmanico
jmanico previously approved these changes Feb 16, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the Session Management Cheat Sheet by adding guidance on using the Clear-Site-Data HTTP header for comprehensive session cleanup. The update expands the Web Content Caching section to include best practices for removing cached data when sessions end, complementing existing cache prevention measures.

Changes:

  • Updated section title from "Web Content Caching" to "Web Content Caching and Clear-Site-Data"
  • Added new paragraph explaining Clear-Site-Data header usage during logout/session termination
  • Enhanced the existing note with additional context about Clear-Site-Data's cache clearing behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jmanico
Copy link
Member

jmanico commented Feb 23, 2026

Good work

@mackowski mackowski merged commit 739ccad into OWASP:master Feb 27, 2026
3 checks passed
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.

4 participants