The Back-Forward cache is a caching system in firefox that runs when the back button is clicked. It will then simply use the DOM from the previous page that is in it's cache instead of reloading the entire page (and re-requesting files).
Back-Forward cache for Chrome is currently in the works and while testing it on Wikipedia, Google's Kenji Baheux reported to us that his team discovered that Wikipedia has a beforeunload event handler on every page (from EventLogging). Having such unload event handlers prevents Back-Forward cache from working. Here's a PDF of the report with repro steps: https://drive.google.com/file/d/1zCoKYwGjM_JN80bzFmU9VwFayyuy5lQo/view?usp=sharing
This handler was introduced by @DLynch in T246382: New EventLogging queue doesn't log events in window.unload as a way to ensure that EventLogging events emitted by existing beforeunload handlers would be reported back as expected by the new EventLogging BackgroundQueue.
Back-Forward cache is a powerful browser feature that our users would probably benefit a lot from in common Wikipedia browsing patterns. Since beforeunload handlers are a bad practice in general, we should probably phase them out.
@DLynch is the instrumentation that prompted you to add this handler in EventLogging's BackgroundQueue still being collected? If so, is there any alternative to them using a beforeunload handler?