← Back to release summary

Fetch API: Request.isHistoryNavigation

Category
Network / Connectivity
Type
New or changed feature
Status
Enabled by default (Chrome 69)
Intent stage
None

Summary

Add a boolean property to request objects to indicate whether the particular request is a history navigation. This allows a service worker to know whether a request was due to a back/forward navigation. An example of how this might be used is that a service worker could respond to such a navigation with a cached response.

Standards & signals

View on chromestatus.com