WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: better-resource-hints (Used by 26 domains)

Better Resource Hints

👤 Alex MacArthur 📦 v1.1.3

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.

Filters

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.

Feedback

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!

DomainExposuresHeadersLast Checked
e*e*g*e*n*o*e*s*l*t*o*s.com 👤 F 2026-07-15 23:05:35
a*p*d*c*r*c*o*.com (WP 7.0) A 2026-07-14 19:31:01
e*u*a*e*r*c*m*o*t*m*n*a*i*t*-*a*i*-*6.fr 👤 F 2026-07-14 10:28:06
b*u*t*n*r*d*c*i*n.com (WP 7.0.1) 👤 F 2026-07-13 20:06:56
c*o*w*l*.com (WP 5.8.9) ⚠️ F 2026-07-12 10:41:03
b*t*i*a*o*p*n*.com F 2026-07-07 20:03:43
b*t*i*a*l*n*h*r*.com F 2026-07-07 20:03:43
b*s*o*e*d*e.com A 2026-07-07 17:50:00
l*c*a*o*u*r*e.com F 2026-07-06 19:43:20
1*d*.com 👤 F 2026-07-05 11:13:28
c*n*e*t*i*e.com (WP 6.9.4) D 2026-07-04 11:24:19
r*h*a*n.co (WP 6.2.9) ⚠️ F 2026-07-02 10:02:32
w*t*r*p*r*h*.com (WP 7.0) 👤 F 2026-07-02 05:48:03
s*l*s*r*n*z.com (WP 5.6.17) ⚠️ F 2026-06-02 04:20:59
p*i*c*p*l*o*i*s*n.com (WP 5.6.17) ⚠️ F 2026-06-01 03:20:40
h*n*r*w*l*s*h*a*g*a*.com (WP 6.3.8) ⚠️ B 2026-06-01 02:23:00
d*n*p*a*m*o*e*n*e*i*r*.com D 2026-05-30 13:14:45
d*n*p*a*m*o*e*a*d*.com D 2026-05-30 13:14:45
d*n*p*a*m*o*e.com D 2026-05-30 13:14:45
c*n*s*a*p*r.de F 2026-05-30 10:21:53
t*e*e*p*k*e*g*.com A 2026-05-29 16:04:22
a*i*-*r.com F 2026-05-29 03:15:07
r*s*d*e*.com (WP 6.4.8) ⚠️ F 2026-05-27 14:13:19
r*b*n*o*e*u.com (WP 5.6.17) ⚠️ F 2026-05-24 00:02:36
t*i*i*o.eu C 2026-05-22 08:40:12
w*s*o*l*t.com D 2026-05-20 18:20:26

Top 50 Plugins

Plugin Count
elementor 1,793,506
contact-form-7 1,782,771
elementor-pro 1,061,122
woocommerce 821,482
revslider 618,933
jetpack 465,331
js_composer 429,063
wp-rocket 342,535
essential-addons-for-elementor-lite 269,835
complianz-gdpr 264,796
gravityforms 259,349
cookie-law-info 234,192
google-site-kit 230,298
instagram-feed 229,170
sitepress-multilingual-cms 215,437
header-footer-elementor 211,103
google-analytics-for-wordpress 210,470
bluehost-wordpress-plugin 192,928
elementskit-lite 184,325
gutenberg 167,699
cookie-notice 153,970
gutenberg-core 143,092
litespeed-cache 140,040
wpforms-lite 128,247
gtranslate 127,646
the-events-calendar 125,270
astra-sites 117,402
popup-maker 112,766
woocommerce-payments 112,059
tablepress 103,048
honeypot 99,317
astra-addon 95,645
coblocks 95,217
wp-smushit 92,664
duracelltomi-google-tag-manager 92,033
all-in-one-seo-pack 91,535
layerslider 91,519
bb-plugin 87,455
premium-addons-for-elementor 86,290
akismet 86,121
cleantalk-spam-protect 84,402
mailchimp-for-wp 83,536
ml-slider 83,127
megamenu 81,731
woocommerce-gateway-stripe 81,160
fusion-builder 78,889
smart-slider-3 77,486
ewww-image-optimizer 77,458
wp-pagenavi 77,284
jet-engine 77,025

Top 50 Themes

Theme Count
hello-elementor 626,411
Divi 508,064
astra 423,884
flatsome 135,027
Avada 123,769
generatepress 117,373
pub 99,228
oceanwp 82,877
kadence 80,212
enfold 71,284
salient 66,490
twentyseventeen 55,299
twentytwentyfour 53,225
bb-theme 52,968
betheme 52,932
blocksy 51,640
cocoon-master 50,582
h4 49,311
dt-the7 46,313
twentytwentyfive 44,637
neve 39,091
woodmart 38,172
Avada-Child-Theme 37,554
gox 36,306
bridge 32,436
twentytwentyone 30,990
lightning 30,230
twentytwenty 29,296
swell 28,426
Impreza 26,461
bricks 26,450
Newspaper 24,501
twentytwentythree 22,721
epik-redesign 19,619
twentytwentytwo 19,330
uncode 18,977
twentysixteen 17,840
pro 17,673
sydney 16,916
storefront 16,653
Total 14,816
hello-theme-child-master 14,063
extendable 13,970
factory-templates-4 13,752
themify-ultra 13,135
yith-wonder 12,969
hestia 12,869
yootheme 12,864
porto 12,140
twentynineteen 11,851