Skip to content

Fix for unload listener breaking bfcache / making Pagespeed Lighthouse warnings#991

Open
jonhassall wants to merge 3 commits intometafizzy:masterfrom
jonhassall:master
Open

Fix for unload listener breaking bfcache / making Pagespeed Lighthouse warnings#991
jonhassall wants to merge 3 commits intometafizzy:masterfrom
jonhassall:master

Conversation

@jonhassall
Copy link

Unload listeners can cause problems with Chrome's back/forward cache, and show as warnings in Lighthouse and cause performance issues.

This pull request uses the pagehide event which avoids these issues.

…ce inteference with bfcache and Pagespeed Lighthouse problems"
… to reduce inteference with bfcache and Pagespeed Lighthouse problems""

This reverts commit 801c02b.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant