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 an explicit no-cache directive to returned headers #599

Open
MaryHirsch opened this issue Jan 28, 2022 · 0 comments
Open

Add an explicit no-cache directive to returned headers #599

MaryHirsch opened this issue Jan 28, 2022 · 0 comments
Assignees

Comments

@MaryHirsch
Copy link

Expected Behaviour

Fabrica users are always running latest version of Fabrica

Current Behaviour

Cache causes problems for some end users:

  1. set password doesn't work
  2. the max publication date 2021 in the Fabrica Form is still saved in the browsers of lots of users

Steps to Reproduce

See examples in Front tickets here: https://app.frontapp.com/inboxes/teammates/464315/assigned/open/22422200725/search/workspace/tag%3Acache/2242511963

Context (Environment)

Screenshots

Further details

Comments from Mike :

"In staging, the returned headers have cache-control with a max-age of 0 and must-revalidate, but the age returned is indicating that the page served is ~72h old. That's technically allowed, as long as the cache revalidates that the page hasn't changed before returning it to the client. We should perhaps add an explicit no-cache directive as well. It's possible some browsers might ignore the max-age=0 without no-cache being present which could potentially lead to this scenario"

Proposal

Hypothesis

Possible Implementation

@MaryHirsch MaryHirsch transferred this issue from datacite/datacite Jan 28, 2022
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

No branches or pull requests

2 participants