gh-polls
gh-polls copied to clipboard
The screen shown when clicking on voted option is cached by chrome and shown again on repeated click
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.
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)
weird! It doesn't affect the vote anyway so not a huge deal
Still, setting Cache-Control: Private or something similar on first response would be nice.