Log in

View Full Version : [vB4] Clean Up Cache - Make vBulletin load faster


Special Pages
06-07-2011, 10:00 PM
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:
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
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/showthread.php/371406-Optimizing-vB4?
http://articles.digitalpoint.com/content.php?r=7-Optimize-vBulletin-4

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

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 :
Clean Up Cache - No longer needed with vBulletin 4.1.8+http://articles.digitalpoint.com/content.php?r=7-Optimize-vBulletin-4

saadessa
12-06-2012, 09:53 PM
installed .. thanks