Elxis CMS Forum
Support => Administration => Topic started by: Luca on March 22, 2010, 21:57:56
-
If I don't delete the static cache after each new user registration, no more new registrations are then possible.
Elxis 2009.1 here and several different installs with same issue on same server.
The problem is not happening if cache is set to "none" or "normal".
Anybody else has got the same problem and how to solve it?
Thanks
Luca
-
Static cache is not suitable for all kind of sites.
Static cache is automatically being disabled for the following tasks of component registration:
sendnewpass, saveregistration, activate
If you wish to completely disable static cache for the whole registration component:
open includes/Core/staticcache.php
Go to line 60
Change this:
case 'com_login':
case 'com_rss':
case 'com_search':
case 'com_banners':
$is_enabled = 0;
break;
To this:
case 'com_login':
case 'com_rss':
case 'com_search':
case 'com_banners':
case 'com_registration':
$is_enabled = 0;
break;
When static cache is enabled for non logged-in users it is like having a pure html site (static cache is disabled when someone logs in). Some people might dont want some areas of the site not to be updated in every click. So, enable static cache only if you are ok with this. elxis.org uses static cache many months now with excellent results.
-
Thank you very datahell, i will try this.
Have a great day
Luca