vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Board Optimization - Yilmaz - Clear Cache vB5 (https://vborg.vbsupport.ru/showthread.php?t=328709)

yilmaz 04-07-2021 09:00 PM

Yilmaz - Clear Cache vB5
 
1 Attachment(s)
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/attachmen...hmentid=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
Code:

./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

Quote:

Originally Posted by mp3president (Post 2606929)
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

Quote:

Originally Posted by yilmaz (Post 2606933)
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

Quote:

Originally Posted by mp3president (Post 2606934)
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?


All times are GMT. The time now is 06:05 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.01050 seconds
  • Memory Usage 1,731KB
  • 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
  • (8)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