admin
Karma: 98
|
Re:large jos_glossary_cache - 2010/09/05 23:41
It shouldn't really be necessary to empty the table. It will be emptied any time a new term is added, since the cache may be invalidated.
Whenever there is a cache hit, all entries older than the expiry time (set by default to 24 hours) are deleted.
It may be that the table needs to be optimized from time to time - that could be done using a cron job. It could be done within Glossary, but there is no facility within Joomla for running timed jobs, and it is difficult to know what event to hang it on. It would be extravagant to optimize after every cache hit.
Only a single copy of each article that has been processed is stored in the cache, so any of that information could be useful for future requests.
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |