• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to randomly clear the database cache

[eluser]Daniel H[/eluser]
I'm not sure whether this is particularly good practice, but I'd like to randomly clear the database cache without having to log when the last clear took place. I imagine I'd do this using a hook.

I'm not particularly fussed how often it is cleared and when, but every 3 or so hours seems like a suitable timeframe.

Can anyone recommend a good approach here?

Many thanks.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.