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 - vB AJAX Cron (https://vborg.vbsupport.ru/showthread.php?t=123719)

Code Monkey 04-07-2007 01:29 AM

Did you import the product xml file in your ACP?

ultimo 04-07-2007 05:05 AM

Yep i did.

Code Monkey 04-07-2007 02:20 PM

Without a website to look at there is not much anyone can do for you.

MAXpowerPXL 04-26-2007 06:33 AM

Sweet, thanks!

Installed on 3.6.5, works great.

Sometimes I feel real sorry for developers answering so many repeated/stupid questions.

vgevolution 06-05-2007 09:44 PM

Awesome! Working fine in 3.6.7 PL1. I can tell my pages are loading faster, plus it fixed a nagging cron not found bug in a couple of hacks I have. Thanks for this! :D

993ti 06-10-2007 10:32 PM

Wow, is it me or did the pages load faster on my board?
Thanks for a great mod CM ;)

alessai 06-10-2007 10:53 PM

so dose it make the forum faster ? safer ? or lighter ?

cant understand all that punsh of words

993ti 06-10-2007 10:56 PM

Quote:

Originally Posted by Code Monkey (Post 1050316)
Currently, when vb needs to run a sheduled task, it loads image code at the bottom of your forum page. Except it has a php file as the src of the img tag. This causes the php file to run which in turn runs the next scheduled task. This can, depending on the cron to run and the size of the site, cause a browser to seemingly hang until the script is finished running. This happens because this is a syncronous event. Meaning, it's waiting for the page to finish loading the image.

This mod replaces that with an asyncronous AJAX call to the cron script.

The image code has served vb well but with the advent of AJAX type methods there is a cleaner way to do it. That's what this does.

And it did make my board faster.
Btw, does this also work if there are no users browsing the board?
The standard VBcron doesn't work without users browsing the site :(

Code Monkey 06-19-2007 04:15 AM

Quote:

Originally Posted by 993ti (Post 1265813)
And it did make my board faster.
Btw, does this also work if there are no users browsing the board?
The standard vBcron doesn't work without users browsing the site :(

It should work with any guest viewing that has javascript enabled. Other than that there has been a request for years for server cron versions of all the default scheduled task at vBulletin.com.

Code Monkey 06-19-2007 04:17 AM

Quote:

Originally Posted by alessai (Post 1265810)
so dose it make the forum faster ? safer ? or lighter ?

cant understand all that punsh of words

It makes a background task asynchronous rather than synchronous which will return the visitors control of their browser sooner and therefor be seemingly faster to the user.


All times are GMT. The time now is 05:24 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.02039 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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