This page illustrates an issue with the Chrome Memory Saver feature.
Chrome will under certain circumstances omit the referer header in the request of a cross-origin iframe. We have identified the following pre-conditions:
We at GRID became aware of this issue when a customer contacted us. They have a calculator built with GRID embedded on their web page. GRID supports locking down which domains can embed a calculator by white-listing them. This mechanism relies on the presences of a referer header. Hence, the customer noticed that their embedded calculator disappeared when a discarded tab was reloaded.
Changing the Referrer-Policy of the page in the iframe to strict-origin-when-cross-origin alleviates the issue.
Below is an iframe pointing to a Next.js page that simply echos back the request headers. Source code is here.
Here's a video that demonstrates the procedure.