PDA

View Full Version : Board Optimization - Yilmaz - Clear Cache vB5


yilmaz
04-07-2021, 09:00 PM
Tested in vbulletin version 5.6.4 works fine

Description:
======================================
Clears the cache once a day

Of course you can change the hour and minute to your needs, this example will run once a day around 18:18 (or 6:18PM.) You should set this to run at a relatively busy time for the forum, so it doesn't get missed, but not necessarily the busiest time.

This will erase it once a day. You can adjust the settings above to run it more often, such as once an hour by setting Hour to * instead of a set number.

I hope this helps, I know some people have asked for this, even though it should not be needed it sometimes is.

https://vborg.vbsupport.ru/attachment.php?attachmentid=158797

How to install :
======================================
Upload the content of "Yilmaz - Clear Cache vB5" to your root.
that's all it.
enjoy..

How to uninstall:
======================================
1. Remove the package "yilmazclearcache" that located in /core/packages/
2. Go to "Manage Products" in the admincp and delete the product named "Yilmaz - Clear Cache vB5"

How to update:
========================================
After uploading files
-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]
OR import the XML file from your server

./core/packages/yilmazclearcache/xml/product_yilmazclearcache.xml


-----
Mark as installed = get support.

Mr Peabody
04-09-2021, 09:32 AM
This is the only one that has ever worked for me. I got sick of manually clearing the cache daily.
TY!

mp3president
04-24-2021, 07:21 AM
Thx for this!!!

Installed it, but for some reason i can't adjust.
Can't even get the settings to appear.

Removed and installed it now couple of times, but didn't work.
Below a print screen ACP Settings.... Can only turn it on or off

https://imgup.nl/images/2021/04/24/yilmaz-cache.jpg

yilmaz
04-24-2021, 08:10 PM
Thx for this!!!

Installed it, but for some reason i can't adjust.
Can't even get the settings to appear.

Removed and installed it now couple of times, but didn't work.
Below a print screen ACP Settings.... Can only turn it on or off


Leave it to time.
It clears the cache once a day.
You can see it in the scheduled task log.

mp3president
04-25-2021, 07:38 AM
Leave it to time.
It clears the cache once a day.
You can see it in the scheduled task log.

Yeah, but i liked this beceause i could adjust the times to 3 times a day.
So i hope you have a solution for why the mod is not working 100%, so that i can adjust it ;)

Seven Skins
04-25-2021, 07:44 PM
1 - You can duplicate the scheduled task and adjust the time for this duplicated scheduled task.
2 - Scheduled task not working 100% ... scheduled task will only run if someone visits your site. ( no visit = no scheduled task )

Mr Peabody
04-26-2021, 04:31 AM
Yeah, but i liked this beceause i could adjust the times to 3 times a day.
So i hope you have a solution for why the mod is not working 100%, so that i can adjust it ;)

It works as intended.

Zweeper
08-03-2022, 03:57 AM
Hey guys, just wondering, but what is the benefit of clearing the cache via cron?