Speculation Rules Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
This plugin adds support for the Speculation Rules API, which allows defining rules by which certain URLs are dynamically prefetched or prerendered based on user interaction.
See the Speculation Rules WICG specification draft.
By default, the plugin is configured to prerender WordPress frontend URLs when the user hovers over a relevant link. This can be customized via the “Speculation Rules” section under Settings > Reading.
A filter can be used to exclude certain URL paths from being eligible for prefetching and prerendering (see FAQ section). Alternatively, you can add the ‘no-prerender’ CSS class to any link (<a>
tag) that should not be prerendered.
Browser support
The Speculation Rules API is a new web API, and the specific syntax used by the plugin currently requires using Chrome 121+.
Other browsers will not see any adverse effects, however the feature will not work for those clients.
- Browser support for the Speculation Rules API in general
- Information on document rules syntax support used by the plugin
Screenshots
No screenshots provided