Questions tagged [bfcache]

20 questions
0
votes
1 answer

Serve page from cache on navigation back

Basically what I want is this: https://dev.to/videos You can select an item -> new page with item loads -> you click on backward button -> the old page is loaded from cache I want that the same search page shown to user on navigation back, without…
0
votes
1 answer

Chrome 79 not reflecting DOM state in onpageshow after back navigation

I believe this is an issue that is related to the bfcache (back-forward cache) in Chrome 79 as this wasn't an issue in Chrome 78. The code below demonstrates the issue when using the latest version of Chrome on Windows 10. …
Mark G
  • 2,848
  • 1
  • 24
  • 32
0
votes
0 answers

Remember selected option of select element that's populated using ajax

On page load, I do an ajax call to populate a -element are stored in a database. This works fine, but I'm getting different behaviors in different browsers, due to bfcache, when going back to the page…
binoculars
  • 2,226
  • 5
  • 33
  • 61
0
votes
2 answers

Button stays disabled after "back" in safari due to bfcache

I submit a form using $('#submitbutton').attr('disabled','true'); setTimeout(function(){ $("#myform").submit(); }, 100); In safari, when returning to this page by clicking the back button of the browser, the button is still disabled. I've tried…
binoculars
  • 2,226
  • 5
  • 33
  • 61
0
votes
1 answer

Chrome Safari ignores no-store cache-control directive

I have a page with a checkbox and a link to page A. I click on the checkbox, I click on the link, go to page A, click browser back button, come back I still see the checkbox checked, it's not clearing up. I have used proper cache-control headers…
snehatulsi
  • 251
  • 1
  • 12
1
2