Posted on: 2012/4/19 19:25
Re: If we were to start a 2.6 Branch what would you like to see.
The whole Idea of caches is if they work they save a lot of processor time and help bring pages up quickly. The first time a cached page is rendered it will render slowly but then after that any pages after that should render quicker.
I have not dealt with Caches yet to know how they are setup with Xoops but it does seem like flushing out caches would not be a bad thing. And hopefully a cron type item will be added to allow such things.
You CAN add something to your normal cron right now to clear these caches out on a daily basis and the only issue will be that your site will appear to be slower when first rendering.
Would make more sense to clear the cache when you install a new module or do something that may benefit from having the caches cleared out. Also due to the number of caches in the system you have to be concerned with the potential of disk fragmentation as well. (This is not an issue for Linux and some file systems. Probably also not an issue for some other systems either. But should be aware of if you are running a Windows system with a NTFS file system.)
Maybe even setup a cache refresh that will delete say 10% of the cache files starting with the oldest ones on a daily basis. This would keep you from refreshing all of your caches every day showing a slowdown and it would likely not even be noticed by any of your users.
Attending College working towards Bachelors in Software Engineering and Network Security.