vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - 103 Early Hints by PlayerSquared.com (https://vborg.vbsupport.ru/showthread.php?t=329586)

x iJailBreak x 05-20-2023 09:00 PM

103 Early Hints by PlayerSquared.com
 
1 Attachment(s)
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.

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.co...7c1d240d955cba

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.


All times are GMT. The time now is 11:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01000 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete