Speculative Loading

Speculative Loading Install Statistics

345
266.67%
Today: 552 Yesterday: 207 All-time: 6,059 downloads
Speculative Loading Icon

Try plugin: Speculative Loading

We'll create fresh WordPress site with Speculative Loading installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Speculative Loading

Enables browsers to speculatively prerender or prefetch pages when hovering over links.

0


0


0


0


0

updated: 8 months ago
since: 11 months ago

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 “Speculative Loading” 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.

This plugin was formerly known as Speculation Rules.