🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Better Resource Hints icon
Peut-être abandonné Tested up to 5.0.32

De meilleurs conseils sur les ressources

Better Resource Hints will make your WordPress site or application faster and generally more performant by intelligently leveraging resource hints like prefetch, preload, preconnect, and server push.

Installations actives100+100+ niveaux
Téléchargements · 30D152▲ +63.4% vs prev. 30d
Évaluation5/53 avis
Score de santé32/100En danger
Téléchargements de tous les temps11.6KDepuis mai 2018
Support résolu—Aucun fil de discussion récent
A besoin deWP 4.0PHP 5.6+
Téléchargements · 7j42▲ +16,7% semaine après semaine
Notre verdict

Envisager une alternative

Better Resource Hints shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 8 years ago, and scores 32/100 on our health check.

  • Petite base d'utilisateurs (plus de 100 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 7 ans
  • Uniquement testé jusqu'à WordPress 5,0 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4812Sep 1Oct 15Nov 29
Hier3
Moyenne quotidienne (1 ans)2
Jour de pointe1610 Septembre 2026
12 Derniers mois786

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Better Resource Hints stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
performance >100 10,000 Les meilleurs plugins de performances →
prefetch >100 276 Best prefetch plugins →
preload >100 596 Best preload plugins →
resource hints >100 300 Best resource hints plugins →
server push >100 1,138 Best server push plugins →

Adoption de version

Part de sites actifs par version.

  • 1.1100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 3 avis

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Better Resource Hints

À partir du Lisez-moi officiel · v1.1.3

Description

Better Resource Hints will make your WordPress site or application faster and generally more performant by intelligently leveraging resource hints like prefetch, preload, preconnect, and server push.

As it stands, WordPress isn’t that bad about providing a base level of these hints. In fact, a basic, dedicated API has been shipped since version 4.6.. However, this functionality only scratches the service, providing only dns-prefetch tags out of the box, and there’s growing opportunity to take advantage of different hints as they are introduced and gain more browser support. Specifically, this plugin focuses on the following types of hints for your styles and JavaScript assets:

Preconnecting – This hint is similar to “dns-prefetch,” but a beefier version. Instead of just resolving the DNS, the preconnect hint handles TLS negotiations and TCP handshakes, resulting in reduced page latency.

Preloading – Preloading occurs when the browser is told it can start downloading an asset in the background early during page load, instead of waiting until the asset is explicitly called to start the process. This hint is most beneficial for assets loaded later on in the page, but are nonetheless essential to the page’s functionality. More often than not, this is a JavaScript file. Enabling this results in an overall faster load time, and quicker time to interactive.

Prefetching – Prefetching assets is similar to preloading, but the assets are downloaded in low priority for the purpose of caching them for later use. For example, if a user hits your home page and is likely to go to a page that uses a heavy JavaScript file, it’s wise to prefetch that asset on the home page, so it’s cached and ready to go on the next. Again, the result is a quicker subsequent page load, quicker time to interactive, and an improved overall user experience. This is different from DNS prefetching, which will only resolve the DNS of a resource’s host, and not actually download the resource itself.

Server Push – If enabled, server push will tell your server to start delivering an asset before the browser even asks for it. This results in a much faster delivery of key assets, and be toggled on for both preloaded, prefetched, and preconnected assets. Note: This feature requires a server that supports server push, and is the most experimental strategy this plugin provides.

As with any sort of performance-enhancing technique, just be aware that they should be used judiciously, and that the results you see will depend on the size the of resources your site loads, as well as how your server is configured. For additional reading, see some of the resources below:

Preload, Prefetch, & Priorities in Chrome
Preloading Key Requests
Preload: What’s It Good For?
Resource Hints – What is Preload, Prefetch, and Preconnect?

What Makes This Plugin Stand Apart?

There’s no shortage of plugins out there that aim to leverage resource hints for boosting performance. However, I’ve seen that several of them make the following mistakes:

Inflexible Hint Management Many similar plugins only provide very limited flexibility in their options, and only allow setting hints globally for every page, regardless of whether the resources are actually needed on the page. This can often result in unecessarily bloaging your bandwidth, since hints on several pages are effectively useless. In some cases, this could actually lead to a less performant site. This plugin attempts to provide options to manage hints more flexibily and intelligently, meaning you won’t be unecessarily preloading assets in the background when they’re not even needed on the page.

Misunderstanding What Different Hints Do I’ve come across some plugins that fail to understand and leverage different hints like they were designed. For example, promising that assets are being preloaded, when they’re actually being prefetched. These and other hints have very different purposes, and should not be interchangably used if you want them to impact your site in the most effective way. This plugin attempts to leverage these hints in way to maximize their effectiveness. For example, BHR won’t prefetch any assets that are enqueued on the page, because that’s just not how the prefetch hint is designed to be used.

Is Better Resource Hints perfect? Absolutely not. That’s why I encourage any constructive feedback or bug reports to be sent my way immediately, so that I can’t improve this plugin as quickly as possible.

A Note About Preloading CSS

Because of their high placement on a page, if the option is enabled, your CSS files will be asyncronously preloaded, and then turned into a stylesheet once they’ve completely loaded. The advantage to doing this is that while the files are downloading, they won’t block the rest of the page from rendering, resulting an overall faster page load.

However, this also means that there may be a flash of unstyled content on the page for a brief moment as the files download. To prevent this, it’s recommended to only preload CSS files that are not critical to the initial view of the page. This will allow you to gain some performance points without sacrificing use experience as the page loads.

Filtres

The following filters are exposed for your use.

/**
* Modify the HTML link generated for preconnecting hosts.
*
* @param string $link (HTML tag)
* @param string $url (URL of the host)
* @return string
*/
add_filter('better_resource_hints_preconnect_tag', function ($link, $url) {
    return $url;
}, 10, 2);



/**
* Modify the HTML link generated for prefetching hosts.
*
* @param string $link (HTML tag)
* @param string $handle (WP handle of the resource
* @param string $type (script or style)
* @return string
*/
add_filter('better_resource_hints_prefetch_tag', function ($link, $handle, $type) {
    return $url;
}, 10, 3);



/**
* Modify the HTML link generated for preloading hosts.
*
* @param string $link (HTML tag)
* @param string $handle (WP handle of the resource
* @param string $type (script or style)
* @return string
*/
add_filter('better_resource_hints_preload_tag', function ($link, $handle, $type) {
    return $url;
}, 10, 3);

What Happens Out of the Box?

Upon activation, Better Resource Hints will optimize your resource hints in a conservative, low-risk way by only doing two things out of the box:

  1. Preloading JavaScript assets enqueued in the footer.
  2. Setting preconnect hints for all third party hosts that already have dns-preconnect hints.

Using the Plugin

After activation, you are able to adjust settings to tweak optimization as seen fit. As a means of testing your optimizations, use a tool like Google Lighthouse to measure the impact of these changes on your site’s performance.

As mentioned, the techniques used here are largely supported by modern browsers, but your results may vary depending on the amount of assets being loaded on your site, as well as your server configuration.

Retour d'information

You like it? Email or tweet me. You hate it? Email or tweet me.

Regardless of how you feel, your review would be greatly appreciated!

Installation

  1. Download the plugin and upload to your plugins directory, or install the plugin through the WordPress plugins page.
  2. Activate the plugin through the ‘Plugins’ page.
  3. Use the Settings -> Better Resource Hints screen to choose whether and which assets to preload, prefetch, and server push.

Journal de modifications

1.0.0

  • Version initiale.

1.1.0

  • Introduce support for generating preconnect hints.
  • Improve user interface.
  • Improve documentation.

1.1.1

  • Append plugin version to admin assets to ensure they’re not cached after updates.
  • Fix miscellaneous UI-related bugs appearing in the admin.

1.1.2

  • Fix bug causing duplicate preload links being generated for some assets.
  • Fix bug causing preconnect links to have incorrectly formatted href values.
  • Fix typos in documentation.

1.1.3

  • Add fallback for cases when no assets are registered.
  • Clean up plugin code structure.
  • Switch from yarn to npm for JS package management.
  • Update preload polyfill for CSS preloading.
  • More intelligently load preload polyfill.

Journal des modifications complet sur WordPress.org →

Captures d'écran

Better Resource Hints screenshot
Better Resource Hints screenshot
Better Resource Hints screenshot

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Better Resource Hints alternatives

All performance plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Cache LiteSpeed Cache LiteSpeed Accélération et amélioration de la vitesse des pages : mise en cache, image/CSS/JS… Par LiteSpeed Technologies 7M+ ★★★★★★★★★★ 4.8 (2.8K) il y a 5 jours 96
2 WP Super Cache WP Super Cache Un moteur de mise en cache très rapide pour WordPress qui produit des fichiers HTML statiques. par Automattic 1M+ ★★★★★★★★★★ 4.3 (1.3K) il y a 4 semaines 95
3 Speed Optimizer – le plugin tout-en-un qui améliore les performances Speed Optimizer – le plugin tout-en-un qui améliore les performances Améliorez les performances de votre site Web et la vitesse de votre page, et augmentez les conversions grâce à de puissantes… par SiteGround 1M+ ★★★★★★★★★★ 4.1 (641) il y a 4 semaines 87
4 WP Fastest Cache – WordPress Plugin de cache WP Fastest Cache – WordPress Plugin de cache Le système de cache WP le plus simple et le plus rapide par Emre Vona 1M+ ★★★★★★★★★★ 4.9 (4.2K) 3 semaines plus tôt 91
5 Gérer le travailleur Gérer le travailleur Une meilleure façon de gérer des dizaines de sites Web WordPress. par managerwp 1M+ ★★★★★★★★★★ 4.6 (681) il y a 4 semaines 81
6 Image Optimizer – Compress Images and Convert to WebP or AVIF Image Optimizer Image Optimizer is an easy-to-use WordPress plugin that reduces image size through various… par Elementor 1M+ ★★★★★★★★★★ 1.7 (81) Il y a 2 semaines 77
7 W3 Cache total W3 Cache total Moteur de recherche (SEO) et optimisation des performances (WPO) via la mise en cache. Mise en cache intégrée : CDN… par BoldGrid 800K+ ★★★★★★★★★★ 4.4 (5.4K) il y a 4 jours 85
8 Autoptimiser Autoptimiser Autoptimize accélère votre site Web en optimisant JS, CSS, images (y compris paresseux), HTML… En optimisant les choses 800K+ ★★★★★★★★★★ 4.7 (1.4K) il y a 1 mois 89
9 Cache d'objets Redis Cache d'objets Redis Un backend de cache d'objets persistant alimenté par Redis®¹. Prend en charge Predis, phPredis, relais… par Till Krüss 500K+ ★★★★★★★★★★ 4.5 (179) Il ya 3 jours 93
10 Polices personnalisées – hébergez vos polices localement Polices personnalisées – hébergez vos polices localement Les polices personnalisées sont un puissant plugin WordPress qui vous permet de télécharger vos propres polices personnalisées… par la force du remue-méninges 400K+ ★★★★★★★★★★ 4.3 (62) 3 semaines plus tôt 94

FAQ

Better Resource Hints: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Better Resource Hints free?

Yes. Better Resource Hints is free to download and use from the official WordPress.org plugin directory.

Is Better Resource Hints safe to use in 2026?

Better Resource Hints shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 8 years ago, and scores 32/100 on our health check.

How many websites use Better Resource Hints?

Better Resource Hints is active on 100+ WordPress websites and has been downloaded 11,587 times since it launched in May 2018. It was downloaded 152 times in the last 30 days.

Does Better Resource Hints work with WordPress 7.1?

Better Resource Hints is officially tested up to WordPress 5.0.32, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Better Resource Hints need?

Better Resource Hints requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Better Resource Hints last updated?

The latest version, 1.1.3, was released on February 12, 2019 (8 years ago).

Who makes Better Resource Hints?

Better Resource Hints is developed and maintained by Alex MacArthur.

What are the best alternatives to Better Resource Hints?

The most popular alternatives to Better Resource Hints are LiteSpeed Cache (7M+ installs), WP Super Cache (1M+ installs) and Speed Optimizer (1M+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir