Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

Turn off speculative loading

Stops browsers from loading the next page in the background when visitors hover over links (added in WordPress 6.8). Keeps analytics and server load exactly as before.

  • Type PHP
  • Runs Everywhere (runs as WordPress loads)
  • Category Performance
  • Tested with WordPress 7.1
PHP
<?php

add_filter( 'wp_speculation_rules_configuration', '__return_null' );

In these packs

  • Turn off more: More features you may not need: sitemaps, trackbacks, automatic updates, pattern suggestions.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.