Skip to content

Commit

Permalink
Make Vue app bfcache-ineligible
Browse files Browse the repository at this point in the history
By adding an empty unload event listener, we make pages serving the Vue
app ineligible for bfcache, which prevents unexpected behavior when
navigating via the browser back/forward buttons.
  • Loading branch information
tw4l committed Sep 26, 2022
1 parent 94ff12f commit 77cba3b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.

0 comments on commit 77cba3b

Please sign in to comment.