Home arrow Forum

Remository Forum

 


webcomil

Karma: 0  
large jos_glossary_cache - 2010/09/01 08:00 Hi All

I'm running glossary 2.71.
I have enabled the Cache processed content in the database on the plug in setting.

enabling the cache cause the glossary tool tip to look nice and system respond very well.
therefore i do not want to disable the cache.

now after few days the DB table jos_glossary_cache get into a very large size of 31.8 MB.

I have cleaned the table via disable and enable again Cache processed.

is there a way to empty this table daily via the system or set an interval to clean the cache? or should it be via server side and cron job?

would love to here what do you think?

thanks in advanced
  | | Sorry, you do not currently have permission to write here.
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
  | | Sorry, you do not currently have permission to write here.

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 8 guest online