Back to vBulletin Tips & Tricks

[vB4] Clean Up Cache - Make vBulletin load faster
by Special Pages 08 Jun 2011
Rating: (6 votes - 4.17 average)

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

Similar Mods

Show Thread Enhancements lazy load, load your page faster & save bandwidth vBulletin 4.x Template Modifications
Miscellaneous Hacks [mod-mall] Clean up Cache - Speed up forum (xml install) vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024