Hi blink-dev,

In Chrome M146, we plan to enable the back/forward cache (BFCache) for
pages that use Shared Workers.

Previously, the usage of Shared Workers blocked pages from entering
BFCache. We have been experimenting with removing this restriction, and we
are now ready to enable this behavior by default.

With this change, pages holding a Shared Worker connection will be eligible
for BFCache. However, please be aware of the following eviction behaviors:

   - *Message from Worker*: If a page in BFCache receives a message from a
   Shared Worker, the page will be evicted.
   - *All connections cached*: If all pages connected to a Shared Worker
   enter BFCache, those pages will be evicted because the Shared Worker is no
   longer actively needed.

You can view the relevant HTML spec changes in this GitHub PR
<https://github.com/whatwg/html/pull/12086>.

Separately, we are working on a change to freeze the Shared Worker and keep
storing the pages instead of evicting them when all connected pages are in
BFCache. We plan to start a Finch experiment for this behavior soon.

Thanks,
Anna

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMD_nPvfz1_ySiH7F-t5qbnX1yXvqibE88D%3Db03JzEHDwrL%2B9w%40mail.gmail.com.

Reply via email to