Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cache invalidation headers to API response #123

Open
v0lkan opened this issue Mar 11, 2025 · 0 comments
Open

Add cache invalidation headers to API response #123

v0lkan opened this issue Mar 11, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@v0lkan
Copy link
Contributor

v0lkan commented Mar 11, 2025

It would be better security if SPIK Nexus sends no-cache headers as part of its RESTful API responses.

Something along these lines for ALL API responses:

w.Header().Set("Cache-Control", "no-store, no-cache, must-revalidate")
w.Header().Set("Pragma", "no-cache")
w.Header().Set("Expires", "0")
@v0lkan v0lkan added the good first issue Good for newcomers label Mar 11, 2025
marikann added a commit to marikann/spike that referenced this issue Mar 11, 2025
v0lkan added a commit that referenced this issue Mar 18, 2025
…headers

Add cache invalidation headers to API responses (#123)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant