Chrome Safari ignores no-store cache-control directive -
i have page checkbox , link page a.
i click on checkbox, click on link, go page a, click browser button, come back
i still see checkbox checked, it's not clearing up.
i have used proper cache-control headers below.
cache-control: no-store, no-cache, must-revalidate pragma: no-store, no-cache expires: 0
also, tried this:
document.body.onunload = function(){}; document.body.onpageshow = function(evt) { if (evt.persisted) { document.body.style.display = "none"; location.reload(); } };
nothing works in chrome , safari (desktop)
works on ie, firefox, mobile chrome , safari.
please help.
this seems same problem why checkbox stay checked when reloading page?
what worked me add autocomplete="off"
form element on page.
Comments
Post a Comment