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

Adds a Cache-Control header to stop sensitive data from being cached #319

Merged
merged 3 commits into from Mar 29, 2019

Conversation

degeri
Copy link
Member

@degeri degeri commented Mar 6, 2019

Adds "Cache-Control", "private,no-store,no-cache" to html responses, this will fix #318

@chappjc
Copy link
Member

chappjc commented Mar 6, 2019

Good, although ideally the header would not be set this way in /stats, maybe the home page too.

@dajohi dajohi merged commit 5a49db3 into decred:master Mar 29, 2019
girino added a commit to girino/dcrstakepool that referenced this pull request Sep 7, 2019
* commit '5a49db3701e9fa7e0e647a38bcdc9fc24ed0ce40':
  Adds a Cache-Control header to stop sensitive data from being cached (decred#319)
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.

Cached user data needs to be cleared on logout
3 participants