Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Administration
»
Must delete static cache after every new user registration [Solved]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Must delete static cache after every new user registration [Solved] (Read 5360 times)
Luca
Full Member
Posts: 126
Must delete static cache after every new user registration [Solved]
«
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
«
Last Edit: August 15, 2010, 15:44:51 by baghetta
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Must delete static cache after every new user registration
«
Reply #1 on:
March 22, 2010, 23:47:58 »
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.
«
Last Edit: March 22, 2010, 23:51:58 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Luca
Full Member
Posts: 126
Re: Must delete static cache after every new user registration
«
Reply #2 on:
March 23, 2010, 17:04:03 »
Thank you very datahell, i will try this.
Have a great day
Luca
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Administration
»
Must delete static cache after every new user registration [Solved]