yesOk, but is there any difference if you use both?
yesOk, but is there any difference if you use both?
No, just save queries.But does this add-on uses server disk space so much like the other add-on?
Some minor modifications. Adding the clear cache option.
Upgrate Note: All cache data is deleted. This can affect the user's logon session.
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?
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?
$config['cache']['cacheSessions'] = true;
What if I'm using xCache?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.
//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 I guess sessions aren't cleared out when an add-on is installed/uninstalled?Xenforo using ZF1 as core library see http://framework.zend.com/manual/1.12/en/zend.cache.html for more infomation.
Depends on your forum activity.Are default settings ok?
So if it's very active it's better to increase numbers?Depends on your forum activity.
For very active forum, use lowest number.So if it's very active it's better to increase numbers?
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?
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
$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?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' => '' ) );
We use essential cookies to make this site work, and optional cookies to enhance your experience.