Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add Speculation Rules JSON script to validator spec for the AMP html_format #39962

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

westonruter
Copy link
Member

Speculative loading via the Speculation Rules API can dramatically increase the speed of page navigations. It essentially brings the AMP viewer prerender iframe to a site's origin as a native web platform feature. As such, it should be allowed by the AMP validator for navigations on origin.

Nevertheless, see Impact on Analytics. It may be that amp-analytics and other components are not accounting for document.prerendering in the same way as it is for the AMP viewer prerendered state.

@amp-owners-bot amp-owners-bot bot requested a review from banaag April 16, 2024 19:27
Copy link

amp-owners-bot bot commented Apr 16, 2024

Hey @ampproject/wg-caching! These files were changed:

validator/validator-main.protoascii

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants