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

Plugin: better-resource-hints (Used by 27 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
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
e*e*g*e*n*o*e*s*l*t*o*s.com F 2026-05-19 07:55:10
a*p*d*c*r*c*o*.com (WP 6.9.4) A 2026-05-18 03:31:34
e*u*a*e*r*c*m*o*t*m*n*a*i*t*-*a*i*-*6.fr F 2026-05-17 18:11:34
b*u*t*n*r*d*c*i*n.com (WP 6.9.4) F 2026-05-17 02:44:39
c*o*w*l*.com (WP 5.8.9) ⚠️ F 2026-05-15 15:13:13
n*-*e*.com (WP 6.5.8) F 2026-05-14 09:33:12
b*t*i*a*o*p*n*.com F 2026-05-10 19:25:23
b*t*i*a*l*n*h*r*.com F 2026-05-10 19:25:23
b*s*o*e*d*e.com A 2026-05-10 17:25:17
l*c*a*o*u*r*e.com F 2026-05-09 20:52:40
1*d*.com F 2026-05-08 13:25:05
c*n*e*t*i*e.com (WP 6.9.4) D 2026-05-07 12:17:11
w*t*r*p*r*h*.com (WP 6.9.4) F 2026-05-04 12:57:55
b*o*.b*s*o*e*d*e.com A 2026-05-03 08:20:22
p*i*c*p*l*o*i*s*n.com (WP 5.6.17) ⚠️ F 2026-05-01 21:22:43
s*l*s*r*n*z.com (WP 5.6.17) ⚠️ F 2026-05-01 09:31:44
h*n*r*w*l*s*h*a*g*a*.com (WP 6.3.8) ⚠️ B 2026-04-29 06:21:59

Top 50 Plugins

Plugin Count
elementor 1,751,066
contact-form-7 1,724,197
elementor-pro 1,021,711
woocommerce 798,205
revslider 604,274
jetpack 458,524
js_composer 422,268
wp-rocket 324,531
essential-addons-for-elementor-lite 281,268
gravityforms 257,678
complianz-gdpr 246,755
cookie-law-info 223,697
instagram-feed 222,929
google-site-kit 215,982
sitepress-multilingual-cms 215,059
google-analytics-for-wordpress 210,102
header-footer-elementor 205,526
elementskit-lite 197,324
bluehost-wordpress-plugin 189,600
gutenberg 158,340
cookie-notice 145,430
gutenberg-core 139,052
wpforms-lite 127,801
the-events-calendar 127,464
litespeed-cache 125,409
gtranslate 124,150
astra-sites 118,492
popup-maker 113,421
woocommerce-payments 111,028
tablepress 104,261
honeypot 93,976
astra-addon 93,106
coblocks 92,014
all-in-one-seo-pack 91,767
wp-smushit 91,328
duracelltomi-google-tag-manager 90,804
LayerSlider 89,665
bb-plugin 89,158
premium-addons-for-elementor 84,831
akismet 84,468
megamenu 83,583
cleantalk-spam-protect 82,405
mailchimp-for-wp 81,991
woocommerce-gateway-stripe 81,290
ml-slider 78,138
fusion-builder 77,767
ewww-image-optimizer 76,935
formidable 76,566
wp-pagenavi 76,049
borlabs-cookie 75,930

Top 50 Themes

Theme Count
hello-elementor 598,611
Divi 499,640
astra 415,123
flatsome 125,011
Avada 121,501
generatepress 116,264
pub 96,266
oceanwp 81,279
kadence 75,987
enfold 69,976
salient 65,441
twentyseventeen 54,733
bb-theme 54,209
twentytwentyfour 53,070
cocoon-master 51,724
betheme 50,477
h4 49,289
blocksy 49,110
dt-the7 44,804
twentytwentyfive 42,629
neve 38,224
Avada-Child-Theme 36,785
gox 32,810
bridge 32,278
woodmart 32,133
twentytwentyone 31,684
lightning 30,707
twentytwenty 29,395
swell 28,172
Impreza 25,595
bricks 25,236
twentytwentythree 23,754
Newspaper 22,691
twentytwentytwo 19,826
epik-redesign 19,278
sydney 18,767
uncode 18,566
twentysixteen 17,753
pro 17,582
storefront 17,457
voxel 16,723
extendable 14,696
Total 14,347
yith-wonder 13,985
kubio 13,725
hello-theme-child-master 12,945
themify-ultra 12,727
factory-templates-4 12,705
yootheme 12,538
hestia 12,402