← Back to release summary

Expose back-forward-cache navigations to Performance Timeline API

Category
Miscellaneous
Type
New or changed feature
Status
No active development (Chrome No active development)
Intent stage
Start incubating

Summary

This adds a Performance Timeline entry type, "back-forward-cache-restoration", which is emitted every time that a page is retrieved from the back-forward cache, and a field on all performance timeline entries, "navigationId", which can be used to tie performance events to the most recent navigation-like event. This allows developers to more easily use the performance APIs to compare the user experience of an SPA or a bfcache-eligible page with that of a traditional multi-page experience.

Motivation

With the rise of single-page applications (SPAs) and the introduction of the back-forward cache, there are now a few different kinds of interaction that a user can have with a web page which appear to be navigation transitions, but do not actually result in a new page load. Because of this, it is difficult to use the performance APIs to compare the user experience of an SPA or a bfcache-eligible page with that of a traditional multi-page experience. This feature allows the page to expose these new types of navigations to the performance timeline, and connects together the various timeline entries which are associated with each such navigation.

Standards & signals

Ecosystem

Explainers: https://drive.google.com/u/0/open?id=1sUPyBLPYtKPyyuu1-3XqJT1QUE6n0cRBZP5IfH8cjQE&resourcekey=0-PpjDpPLPsFk8ips35GXj1w

View on chromestatus.com