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

The screen shown when clicking on voted option is cached by chrome and shown again on repeated click #24

Open
noway opened this issue Jul 8, 2017 · 2 comments

Comments

@noway
Copy link

noway commented Jul 8, 2017

Although I already voted, it still shows me "Thanks for voting!" screen.

Inspection of network requests shows that the page is being displayed straight from cache.

screen shot 2017-07-09 at 1 55 45 am

Possibly happens only in chrome, because chrome these days seems to aggresively cache all http2 cache.

(happens when clicking on the option I've chosen, as because for other options browser didn't have a chance of caching the response)

@tj
Copy link
Member

tj commented Jul 8, 2017

weird! It doesn't affect the vote anyway so not a huge deal

@noway
Copy link
Author

noway commented Jul 9, 2017

Still, setting Cache-Control: Private or something similar on first response would be nice.

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