vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - True Asynchronous Cron Jobs using Javascript [!AJAX]. No more hanging page loads. (https://vborg.vbsupport.ru/showthread.php?t=160514)

Analogpoint 10-28-2007 05:19 AM

Quote:

Originally Posted by andrewy3k (Post 1370201)
I have a question.. is there any way to really tell if this actually improves loading times?.. Anyone actually test to see? And is it a more efficient hack for big boards?

thanks ahead of time

This won't improve loading times. The entire page still has to load, and this mod does not affect that. What it does do is keep the page from appearing to hang when it is "almost" done loading. It appears to hang (in some, not all cases), because the pixel image at the bottom of the page, that calls the cron script doesn't load until the cron script is done running. This mod requests the cron image via JS after the page has been loaded, eliminating the annoying pages that are apparently loaded (visually they are all there), but the loading indicator in the browser says the page is still loading because the cron image is still loading.

andrewy3k 10-28-2007 05:27 AM

hmm, I'm trying to recall if thats ever been noticeable on my board.. if there is hang time maybe half a second to a second max to a point it may not be noticeable.. not sure what I should be looking for :) .. the only hangtime I notice is loading after $navbar .. but thats just because I have a larger board..

The Bish 10-28-2007 05:55 AM

Good lord man! This has solved an issue I have been having with my board for some time. Where in the hell do I send your Christmas Card too?

andrewy3k 10-28-2007 06:45 AM

Quote:

Originally Posted by The Bish (Post 1370221)
Good lord man! This has solved an issue I have been having with my board for some time. Where in the hell do I send your Christmas Card too?

whats that?.. please do share.. :)

The Bish 10-28-2007 07:04 AM

I have been having the page load and then hang for what seemed like 5 seconds. Had members complain that it took upwards of 5 seconds or more at times to load. I have been IMing a few of them and they all say it is loading faster although one person says I have a ton of shit html which could also be an issue. So as far as the load hang goes... the usual complainees seem to think it is working better since the install.

PoetJA-1975 10-28-2007 07:29 AM

Quote:

Originally Posted by Saviour (Post 1364033)
Noticeable improvement on page loading time. Much appreciated! Marked Installed...

I agree! Thanx so much to the Author of this fine modification ;)

Jacquii.

andrewy3k 10-28-2007 08:48 AM

Maybe I should try .. see if it makes any difference.. I don't think it will.. but wont hurt

andrewy3k 10-28-2007 06:04 PM

I tried it.. didn't see any noticeable differences.. in both FF and IE

timothydog76 10-29-2007 12:20 AM

Installed this today. Seems cool. I noticed one minor glitch (nitpicking really). If I look in the plugins manager the drop-down box and "Go" button are oriented funny. Is this an issue anyone else is seeing?

Thanks,

jawatkin 10-29-2007 03:04 AM

This is a godsend, seriously. I always hated that delay, it was annoying as ever.... And now... Thank you!!

Analogpoint 10-30-2007 04:53 PM

Quote:

Originally Posted by timothydog76 (Post 1370784)
Installed this today. Seems cool. I noticed one minor glitch (nitpicking really). If I look in the plugins manager the drop-down box and "Go" button are oriented funny. Is this an issue anyone else is seeing?

Thanks,

That is a problem with vBulletin (with any products you install), and is not directly related to this product. But I hear you, I think it's annoying too. :)

Code Monkey 11-01-2007 06:04 AM

Quote:

Originally Posted by Lizard King (Post 1363488)

Quote:

Originally Posted by Analogpoint (Post 1363505)

That's a classic case of using a bulldozer to knock over a molehill. You have to upload a Javascript file, and a php file, as well as install the product. It uses AJAX where AJAX is not needed. It makes you run a hacked version of vB's cron.php file. It doesn't work with vBadvanced, vBdruapal and others. I'm not sure how it deals with users who don't have Javascript enabled. This mod has none of those problems. Shall I continue?

That's a nice bulldozer post to get people to use your product instead of the original. lol Nothing like being insulted by someone you don't know.

Just to answer your mud flinging.

The hacked cron file returns less crap that is not needed and prevents many issues that were found using cron.php.

The uploaded javascript is cached by the users browser where your inline js must be downloaded with each and every page load.

It works fine with vbadvanced.

And as far as users without js, it defaults to the normal vb method.

Oh, and it only loads when a cron is to be run. Not every page load like this one.

And what's best of all, it's original.

Nice people don't fling mud. Have a nice day.

Analogpoint 11-01-2007 06:59 AM

Quote:

Originally Posted by Code Monkey (Post 1373253)
That's a nice bulldozer post to get people to use your product instead of the original. lol Nothing like being insulted by someone you don't know.

Just to answer your mud flinging.

The hacked cron file returns less crap that is not needed and prevents many issues that were found using cron.php.

The uploaded javascript is cached by the users browser where your inline js must be downloaded with each and every page load.

It works fine with vbadvanced.

And as far as users without js, it defaults to the normal vb method.

Oh, and it only loads when a cron is to be run. Not every page load like this one.

And what's best of all, it's original.

Nice people don't fling mud. Have a nice day.


Code Monkey,

I offer you my sincerest apologies. I created this mod for my own personal use, and I created it to the best of my abilities. My post that you call 'mud flinging' was an attempt to compare the two mods, only since someone asked. I never told anyone to use my mod instead of yours, everyone's free to use what they want. My personal preference with modifications, is the simpler and more straightforward it is, the better. You have misinformation in your post, concerning both the mods, which I won't respond to. Each user can decide for themselves which mod they want to install, if any. I hope you'll forgive me and not feel that I'm stepping on your toes. I hope we can peacefully coexist here on vB.org.

Respectfully,
David.

mhackl 11-01-2007 08:02 AM

I installed this and noticed a significant increase in performance. Better in Firefox than IE though.

JohnBee 11-02-2007 01:30 AM

Thanks for this! very smart MOD .twothumbsup.

Paxion 11-06-2007 01:33 PM

Greatest mod I have so far.... and my forum has pretty much everything.

kollam003 11-08-2007 09:59 AM

Indianprofits.com clicks install

class101 11-09-2007 10:39 AM

thank you , this addon fixed a problem I had with $cronimage and Zoints Tags rewritten urls

69lakalle 11-15-2007 02:27 PM

Can you add an option were we can set the sizes for posts and signatures separate ?

plothook 12-06-2007 10:50 AM

* Clicks Mark as Uninstalled *
Those annoying hangs in Firefox are a thing of the past!

Thanks Analogpoint!

MrNase 12-06-2007 09:12 PM

Does it only attach the plugin code when there is a cron job that needs to be run?

cosy 12-20-2007 07:56 PM

any plans to get this for 3.7 ?

dashed 05-02-2008 12:47 AM

Does this work for vb 3.7?

K4GAP 05-02-2008 12:59 PM

Waiting for answer to last two posts.... 3.7 ?

Helloooo, anyone there? lol, sorry I get in a hurry sometimes :)

Milad 05-03-2008 12:08 AM

I think it works. the developer is absent since 06 Dec 2007

ArnyVee 06-18-2008 04:48 PM

I can't really tell if it's working or not, to tell you the truth :)

But, I haven't had any issues and I'm running 3.7.1 P1

trilljester 06-18-2008 06:38 PM

I'll give this a shot to see if my cron jobs will execute better.

I wish Jelsoft would give us that have actual shell access to our servers the ability to execute the cron jobs from a shell-based cron, rather than PHP-based.

Fenriz 08-19-2009 08:12 PM

Does it work with vb 3.8.x ?

Jazzi 09-16-2009 11:30 AM

Working for 3.8.4. :)

too_cool_3 02-04-2012 08:58 PM

Does this mod do anything in vB 4 and does it work?

Max Taxable 01-13-2014 02:48 AM

Installed on a v3.8.6 and actually also moved the $cronimage call out of the footer template and into the headinclude template.

fxdigi-cash 06-13-2015 12:40 PM

works on vb 4.2.2 perfectly! no issues at all. one of the best articles ever! Big Thanks

pl804 12-15-2015 03:23 PM

Do modern browsers still hang when the pixel calls a scheduled task, or has this been resolved by the latest browser versions?


All times are GMT. The time now is 01:02 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.01449 seconds
  • Memory Usage 1,783KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete