I enabled the cache in config.inc.php Roundcubemail,
$config['fileapi_seafile_cache'] = 'db'; $config['fileapi_seafile_cache_ttl'] = '14d';
but the cache is never created in the DB.
I noticed that Roundcube requires the $_SESSION['user_id'] to be set in order to create a cache:
rcube::get_cache ... if (!isset($this->caches[$name]) && ($userid = $this->get_user_id())) { $this->caches[$name] = new rcube_cache($type, $userid, $name, $ttl, $packed); }
The seafile driver doesn't set the _SESSION['user_id'] and never gets a cache to fill / read.
However the kolab_file_storage sets the $_SESSION variables.
Do I miss something ? How can I fix this ?
Kind regards,
Arnaud