Resource icon

Xen Cache 1.0.1

No permission to download
What do you mean by

"Clear all cache data now
Note: All cache data is deleted. This can affect the user's logon session."

Would it disconnect users that are currently logged in? if yes, why if you only cache session records?
 
What do you mean by

"Clear all cache data now
Note: All cache data is deleted. This can affect the user's logon session."

Would it disconnect users that are currently logged in? if yes, why if you only cache session records?
It doesn't disconnect my user's.
 
What do you mean by

"Clear all cache data now
Note: All cache data is deleted. This can affect the user's logon session."

Would it disconnect users that are currently logged in? if yes, why if you only cache session records?

See this config in xenforo core config:
Code:
$config['cache']['cacheSessions'] = true;

All cache data is deleted (As flush cache). If xenforo core cache session, this action may be delete all cache session data.
 
See this config in xenforo core config:
Code:
$config['cache']['cacheSessions'] = true;

All cache data is deleted (As flush cache). If xenforo core cache session, this action may be delete all cache session data.
What if I'm using xCache?

This is how it looks like currently on my system:

Code:
//xCache Settings
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_MAIN';
$config['cache']['backend'] = 'XCache';
$config['cache']['cacheSessions'] = true;

So if I delete all the cache, all users would log-out automatically?
 
When I try to change settings, it asks for xCache authentication (username and password), but fails to except it. Anyway around it? and why does it ask for xCache's details?
 
When I try to change settings, it asks for xCache authentication (username and password), but fails to except it. Anyway around it? and why does it ask for xCache's details?

See:
Zend_Cache_Backend_Xcache
This backends stores cache records in shared memory through the » XCache extension (which is of course need for using this backend).

Be careful : with this backend, "tags" are not supported for the moment as the "doNotTestCacheValidity=true" argument.

Available options are :

Xcache Backend Options
Option Data Type Default Value Description
user String NULL xcache.admin.user, necessary for the clean() method
password String NULL xcache.admin.pass (in clear form, not MD5), necessary for the clean() method

Code:
$config['cache'] = array(
    'enabled' => true,
        'cacheSessions' => true,
        'frontend' => 'core',
        'frontendOptions' => array(
            'caching' => true,
            'cache_id_prefix' => 'xf_'
        ),
        'backend' => 'xcache',
        'backendOptions' => array(
            'user' => '',
            'password' => ''
        )
);
 
See:


Code:
$config['cache'] = array(
    'enabled' => true,
        'cacheSessions' => true,
        'frontend' => 'core',
        'frontendOptions' => array(
            'caching' => true,
            'cache_id_prefix' => 'xf_'
        ),
        'backend' => 'xcache',
        'backendOptions' => array(
            'user' => '',
            'password' => ''
        )
);
1. What if I don't want to use the clean option, do I still need to add these line to the config?

2. If I add these lines, would it have any effect on current sessions if they are already cached?

Thanks
 
Top Bottom