Implement speculative prerendering (Speculation Rules) #13603
Labels
P3
Nice to have
Type: Enhancement
New feature or improvement of an existing feature
Type: Performance
Performance related issues and enhancements.
Feature Description
The WordPress core performance team has recently launched the Speculation Rules feature plugin, which leverages the Speculation Rules API to enable dynamically prefetching/prerendering URLs based on user interaction.
See https://developer.chrome.com/docs/web-platform/prerender-pages for an explainer blog post.
This made me wonder how we could implement this API in Web Stories as well.
Some possibilities:
Implementation-wise:
SpeculativePrerendering
service.HasPrerendering
interface so every relevant service can indicate preloading/prerendering rules for it.A dedicated service is probably easiest, no need to overcomplicate things.
Alternatives Considered
Additional Context
The text was updated successfully, but these errors were encountered: