I have been using the JoomGallery with over 15K images since a long time. The problem is that within several days Joomla cache is permanently full (over 1 GB within 2-3 days). In order to solve the problem I created the following script and put it into cron job on server. Unfortunately it does not work.
Code
include 'includes/defines.php';
include 'includes/framework.php';
$conf = JFactory::getConfig();
$options = array(
'defaultgroup' => '',
'storage' => $conf->get('cache_handler', ''),
'caching' => true,
'cachebase' => $conf->get('cache_path', JPATH_SITE . '/cache')
);
$cache = JCache::getInstance('', $options);
$cache->clean('cachegroup');
Alles anzeigen
Do you have an idea what is wrong?