vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Tips & Tricks (https://vborg.vbsupport.ru/forumdisplay.php?f=239)
-   -   [vB4] Clean Up Cache - Make vBulletin load faster (https://vborg.vbsupport.ru/showthread.php?t=264868)

Special Pages 06-07-2011 10:00 PM

[vB4] Clean Up Cache - Make vBulletin load faster
 
This little plugin will make your forum load faster by cleaning up your forum cache that never gets cleaned up.

You will need to create a plug-in by going to AdminCP>Plugin & Products>Add New Plugin.


Then follow the following instructions:

1. Product - select vBulletin from the drop down menu

2. Hook Location - cron_script_cleanup_hourly from the drop down menu

3. Execution Order - leave it at 5

4. Plugin PHP Code - Copy and paste the following code in the box:
Code:

require_once(DIR . '/includes/class_bootstrap_framework.php');
vB_Bootstrap_Framework::init();
vB_Cache::instance()->clean(true);

5. Plugin is Active - Select Yes

sisterhood 06-08-2011 04:54 PM

run plugin automatic?

Special Pages 06-08-2011 05:24 PM

Quote:

Originally Posted by sisterhood (Post 2205134)
run plugin automatic?

Yeah it's automatic. :)

doctorsexy 06-08-2011 06:01 PM

installed .. thanks eddy...

valdet 06-08-2011 06:12 PM

Is something like this possible for vB 3.x

ttran 06-08-2011 06:15 PM

what do i put in this guys?
require_once(DIR . '/includes/class_bootstrap_framework.php');
thanks!

TheLastSuperman 06-08-2011 07:10 PM

WOW - Give credit much? Your speaking about using the info by someone else you just passed off as your own per say?

http://www.vbulletin.com/forum/showt...ptimizing-vB4?
http://articles.digitalpoint.com/con...ze-vBulletin-4

Thanks digitalpoint! https://vborg.vbsupport.ru/member.php?u=50147

Quote:

Originally Posted by ttran (Post 2205183)
what do i put in this guys?
require_once(DIR . '/includes/class_bootstrap_framework.php');
thanks!

Nothing as that is telling it to look in that "Directory" or DIR ;).

Xp.Warrior 05-08-2012 02:23 AM

This Mod coding In Vb3 ?

New Joe 05-08-2012 05:05 AM

And also this :
Quote:

Clean Up Cache - No longer needed with vBulletin 4.1.8+
http://articles.digitalpoint.com/con...ze-vBulletin-4

saadessa 12-06-2012 09:53 PM

installed .. thanks


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

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01284 seconds
  • Memory Usage 1,724KB
  • 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)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete