PDA

View Full Version : Board Optimization - 103 Early Hints by PlayerSquared.com


x iJailBreak x
05-20-2023, 09:00 PM
A mini-mod that enables 103 Early Hint support on your vBulletin forum.

Install by importing the XML file, then head into Options > 103 Early Hints by PlayerSquared.com and configuring the plugin as necessary.

For more information on HTTP/2 Push and 103 Early Hints and how these can benefit your website's speed, see this link (https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103).

x iJailBreak x
05-20-2023, 09:19 PM
Can't edit the post to upload the XML as I keep getting a PHP error lol.

Have uploaded the XML off-site for now, until this site works again.

https://p28.p0.n0.cdn.getcloudapp.com/items/xQuRGyXR/f1d9db88-2bae-4d57-aef5-f19d3713774b.xml?v=923b6551f7866568297c1d240d955cb a

oldfan
05-21-2023, 10:14 AM
screenshot?
Whats this do ?

Thanks its been a long time since I seen a new mod :)

x iJailBreak x
05-22-2023, 06:38 AM
There's no screenshot to show - all it does is add an additional header on output that sends an early resource hint. It's used to allow your user's browsers to connect faster to assets in order to speed up the browsing experience. It's not a huge difference, but it's something that's starting to be implemented across the internet as a best practise.

It's key to note that the order of assets does matter, and this should only really be implemented if you understand how it works.

oldfan
05-23-2023, 12:05 AM
oh cool, does it work with 4.2.5 ?

x iJailBreak x
05-23-2023, 07:53 PM
In theory, due to the simplicity of the mod, it should work with any version of vB4, as well as any version of 3.8.x, although I haven't tested it on 3.x.

I wrote it on my live environment as an experiment, which is a modified codebase based on 4.2.5, but it should work fine on stock 4.2.5.

oldfan
05-24-2023, 06:56 PM
i have heavily modded 4.2.6 php 7.2
ill give it a shot and let you know, on a side note you coming up with anything else?

x iJailBreak x
05-25-2023, 12:07 PM
As long as you haven't removed the global_start hook, it should work just fine.

I'm not working on anything else right now as we're actually working on moving away from vBulletin at this time, but we've had a lot of features to rebuild into our new site. This was just something I threw together quickly on our live board. Unfortunately, I feel like vB5 and the actions of IB truly killed the scene around vBulletin, as well as the fact more popular forum softwares have popped up in recent times. I won't say I'll never post another mod (as I really don't know how much longer I'll be running vB for) but it's highly unlikely.

Although, if I build something worth sharing, I'll post it.