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

WordPress Speculation Rules plugin #131

Open
kkmuffme opened this issue May 5, 2024 · 1 comment
Open

WordPress Speculation Rules plugin #131

kkmuffme opened this issue May 5, 2024 · 1 comment

Comments

@kkmuffme
Copy link

kkmuffme commented May 5, 2024

Since WP core team released a plugin for WP with the new speculation rules supported https://wordpress.org/plugins/speculation-rules/ I think it would be useful to document/clarify what instant.page's WP plugin does better/differently

@isaumya
Copy link

isaumya commented May 8, 2024

Hi @kkmuffme,
The latest version of the instant.page script (if you take it from GitHub) does speculative loading if the browser supports it.
You should also check: #130
So, it's better to use instant.page than the WP plugin as this script will do speculative loading where the browser supports it otherwise use the old link tag to prefetch.

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

No branches or pull requests

2 participants