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

Plugin: better-resource-hints (Used by 75 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
l*c*a*o*u*r*e.com βœ… F 2026-04-09 05:27:34
c*o*w*l*.com (WP 5.8.9) ⚠️ F 2026-04-09 04:50:43
b*t*i*a*o*p*n*.com βœ… F 2026-04-06 13:45:10
b*t*i*a*l*n*h*r*.com βœ… F 2026-04-06 13:45:10
c*n*e*t*i*e.com (WP 6.9.1) βœ… D 2026-04-06 01:27:15
a*c*-*i*.com βœ… F 2026-04-03 06:07:24
1*d*.com βœ… β€” 2026-03-29 21:37:44
w*s*o*l*t.com βœ… β€” 2026-03-18 23:34:04
a*g*g*.it βœ… β€” 2025-11-12 01:17:42
h*p*o*.ch βœ… β€” 2025-11-11 17:17:59
v*r*a*a.com βœ… β€” 2025-11-11 07:30:46
t*e*a*i*c.com βœ… β€” 2025-11-10 23:47:58
t*e*o*c*n*r*l.com βœ… β€” 2025-11-10 23:06:29
t*e*e*p*k*e*g*.com βœ… β€” 2025-11-10 22:34:43
t*c*m*e.com βœ… β€” 2025-11-10 21:01:31
t*a*m*e.com βœ… β€” 2025-11-10 20:51:40
s*a*m*e.com βœ… β€” 2025-11-10 16:23:06
s*a*t*d*.com βœ… β€” 2025-11-10 13:40:42
s*l*s*r*n*z.com βœ… β€” 2025-11-10 07:17:49
r*s*d*e*.com βœ… β€” 2025-11-10 05:43:49
r*b*n*o*e*u.com βœ… β€” 2025-11-10 05:02:11
p*r*m*e.com βœ… β€” 2025-11-09 23:50:53
p*i*c*p*l*o*i*s*n.com βœ… β€” 2025-11-09 22:26:34
p*w*r*o*s*l*i*g*y*.com βœ… β€” 2025-11-09 21:40:15
p*w*r*o*s*l*i*g*y.com βœ… β€” 2025-11-09 21:40:15
p*w*r*o*s*l*i*g*e*y*r*.com βœ… β€” 2025-11-09 21:40:15
p*w*r*o*s*l*i*g*o*p*t*r*.com βœ… β€” 2025-11-09 21:40:15
p*w*r*o*s*l*i*g.com βœ… β€” 2025-11-09 21:40:15
o*a*a*n*o.com βœ… β€” 2025-11-09 14:32:44
o*a*a*n*.com βœ… β€” 2025-11-09 14:32:44
n*-*e*.com βœ… β€” 2025-11-09 12:15:04
m*l*w*n*.com βœ… β€” 2025-11-09 09:00:58
m*d*r*m*t*o*b*i*d.com βœ… β€” 2025-11-09 06:27:42
m*f*r*e*.com βœ… β€” 2025-11-09 03:34:49
m*e*m*e.com βœ… β€” 2025-11-09 03:33:07
m*r*i*l*c*.com βœ… β€” 2025-11-09 01:45:19
m*d*e*e*p*r*o*a.com βœ… β€” 2025-11-09 00:00:58
l*w*n*o*p.com βœ… β€” 2025-11-08 19:15:06
l*w*n*.com βœ… β€” 2025-11-08 19:15:06
l*w*i*c*r*o*a*e*.com βœ… β€” 2025-11-08 19:14:02
k*r*b*a*h*s.com βœ… β€” 2025-11-08 15:59:23
k*m*i*r*c*e*.com βœ… β€” 2025-11-08 15:42:53
k*m*i*o*i*e.com βœ… β€” 2025-11-08 15:42:53
k*m*i*t*a*k*r.com βœ… β€” 2025-11-08 15:42:53
k*m*i*m*b*l*.com βœ… β€” 2025-11-08 15:42:53
j*m*f*c*o*t*c*n*l*g*e*.com βœ… β€” 2025-11-08 13:08:32
j*m*f*c*o*d*g*t*l*a*k*t*n*.com βœ… β€” 2025-11-08 13:08:32
j*m*f*c*o*b*b*n*o*n*.com βœ… β€” 2025-11-08 13:08:32
j*m*f*c*o*b*b*i*i*a*.com βœ… β€” 2025-11-08 13:08:32
j*v*a*l*w.com βœ… β€” 2025-11-08 10:56:55
i*c*d*.com βœ… β€” 2025-11-08 07:29:51
h*n*r*w*l*s*h*a*g*a*.com βœ… β€” 2025-11-08 05:46:02
h*m*e.com βœ… β€” 2025-11-08 05:26:16
g*i*l*n*z*n.com βœ… β€” 2025-11-08 00:00:56
g*t*d*.com βœ… β€” 2025-11-07 23:02:51
f*n*l*i*k*f*.com βœ… β€” 2025-11-07 16:00:17
e*e*g*e*n*o*e*s*l*t*o*s.com βœ… β€” 2025-11-07 13:31:59
e*d*m*b*z*t*.com βœ… β€” 2025-11-07 12:21:14
d*p*g*i*e*.com βœ… β€” 2025-11-07 07:05:32
d*n*p*a*m*o*e*n*e*i*r*.com βœ… β€” 2025-11-07 06:59:32
d*n*p*a*m*o*e*a*d*.com βœ… β€” 2025-11-07 06:59:32
d*n*p*a*m*o*e.com βœ… β€” 2025-11-07 06:59:32
d*s*m*a*t*g*-*a*o*r.com βœ… β€” 2025-11-07 04:38:07
d*s*m*a*t*g*-*o*v*r*u*e*l*t*u*.com βœ… β€” 2025-11-07 04:38:07
b*i*h*m*e.com βœ… β€” 2025-11-06 14:40:07
b*u*t*n*r*d*c*i*n.com βœ… β€” 2025-11-06 12:58:35
b*s*o*e*d*e.com βœ… β€” 2025-11-06 10:40:00
b*m*f*r*i*u*e.com βœ… β€” 2025-11-06 10:19:40
b*y*e*s*o*n*r.com βœ… β€” 2025-11-06 09:27:53
b*s*c*d*i*.com βœ… β€” 2025-11-06 09:14:08
b*n*o*a*i.com βœ… β€” 2025-11-06 08:50:09
a*i*-*r.com βœ… β€” 2025-11-06 06:07:49
a*g*g*b*r*e*s*o*.com βœ… β€” 2025-11-06 05:09:07
a*g*g*.com βœ… β€” 2025-11-06 05:09:07
a*p*d*c*r*c*o*.com βœ… β€” 2025-11-06 03:05:12

Top 50 Plugins

Plugin Count
elementor 3,987,002
contact-form-7 3,380,007
elementor-pro 2,188,808
woocommerce 1,902,461
revslider 1,294,555
js_composer 810,247
essential-addons-for-elementor-lite 591,253
wp-rocket 573,010
jetpack 544,319
header-footer-elementor 541,569
elementskit-lite 517,670
gutenberg-core 467,268
google-analytics-for-wordpress 433,557
instagram-feed 427,027
google-site-kit 413,098
wpforms-lite 402,174
astra-sites 399,665
cookie-law-info 388,347
complianz-gdpr 378,552
gravityforms 359,717
litespeed-cache 347,748
sitepress-multilingual-cms 319,274
bluehost-wordpress-plugin 299,132
gtranslate 257,502
coblocks 235,082
cookie-notice 227,389
premium-addons-for-elementor 197,185
mailchimp-for-wp 191,665
sg-cachepress 188,426
astra-addon 186,443
bb-plugin 185,148
the-events-calendar 185,125
pro-elements 183,570
click-to-chat-for-whatsapp 180,354
creame-whatsapp-me 178,795
LayerSlider 173,557
custom-fonts 172,085
wp-smushit 172,076
popup-maker 170,060
gutenberg 168,554
royal-elementor-addons 159,719
tablepress 155,669
ultimate-addons-for-gutenberg 154,374
woocommerce-gateway-stripe 150,229
pixelyoursite 149,027
smart-slider-3 148,304
duracelltomi-google-tag-manager 143,944
cleantalk-spam-protect 138,770
metform 135,480
fusion-builder 134,730

Top 50 Themes

Theme Count
hello-elementor 1,226,355
astra 1,113,331
Divi 982,193
pub 305,778
generatepress 231,189
flatsome 226,965
h4 213,417
Avada 195,537
oceanwp 168,910
kadence 147,007
twentytwentyfive 126,311
bb-theme 122,529
blocksy 121,497
twentytwentyfour 119,034
enfold 117,890
cocoon-master 117,522
salient 115,187
woodmart 100,351
betheme 98,814
twentyseventeen 89,093
dt-the7 78,067
neve 69,983
swell 63,243
twentytwentyone 60,201
bridge 58,735
lightning 53,644
twentytwentythree 52,862
twentytwenty 49,875
Avada-Child-Theme 44,261
gox 42,052
Impreza 40,373
bricks 39,742
Newspaper 39,031
twentytwentytwo 38,847
yith-wonder 32,697
storefront 31,533
extendable 30,980
themify-ultra 30,875
pro 30,174
twentyfifteen 29,900
uncode 29,547
epik-redesign 29,351
sydney 28,871
twentysixteen 28,652
go 25,836
porto 25,493
Total 25,492
hestia 23,155
popularfx 22,128
thrive-theme 21,738