Re: How-to desactivate only the LDAPUsersCache ?

Serge Huber <[email protected]>
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
Hi Ghislain,

It really depends why you need to flush the caches. If for example it is 
because an LDAP user has been deleted or changed, then it is normal that 
you must flush the user caches.

As for the container and container list cache, I must say that it's 
strange that you need to flush them.

The HTMLCache is often needed to be flushed because it caches the whole 
HTML generated for the page, and as such can have a lot of conditions 
for flushing.

Regards,
Serge Huber.

ghislain.cussonneau wrote:

> Finally, I've test which caches I need to flush ... and here is the list :
>
> ContainerCache
>
> 	
>
> Caches des JahiaContainer
>
> ContainerListCache
>
> 	
>
> Cache des JahiaContainerList
>
> HTMLCache
>
> 	
>
> Cache HTML frontal
>
> LDAPUsersCache
>
> 	
>
> Cache des utilisateurs stockés dans le répertoire LDAP
>
> ProvidersUsersCache
>
> 	
>
> Cache des fournisseurs de groupes
>
> SiteUsersCache
>
> 	
>
> Cache des utilisateurs présent dans un site
>
> I don't understand why I need to flush ContainerCache, 
> ContainerListCache and HTMLCache...
> Can anybody explain it to me ?
> Thanks
> ------------------------------------------------------------------------
>
> 		
> > Hi!
> >
> > On Jahia 4.0.6, I've modify the jahia.properties to had this lines
> >
> > max_cached_LDAPUsersCache = 0
> > max_cached_ProvidersUsersCache = 0
> >
> > because the dynamic groups are based on some attributs of the
> > users in the LDAP and when I only desactivate the
> > max_cached_LDAPUsersCache, it's not enough to take
> > modifications from the LDAP.
> >
> > There's a new problem with this cofiguration : all the JahiaDB
> > users (the super-administrator, the webmasters, etc.) can't
> > authenticate to my sites. The super-administrator can only
> > access and manipulate the administration panel
> > (http://localhost/jahia/administration).
> >
> > WHY ?
> >
> > How can I configure my server to take changes from the LDAP
> > and still use the JahiaDB users ?
> >
> > If I don't this configuration and use instead the "Status and
> > server caches" engine, I need to delete all the caches to take
> > the users changes from LDAP !
> >
> > WHY ?
> >
> > Thanks
> >
> > *Ghislain CUSSONNEAU*
> > /DIRR/DPIL/CIS/
> /> CAP 44, Rue Marcel Sembat/
> /> 44000 Nantes/
> > *02 51 84 48 80*
> > /CRIL Technology/
> /> Technoparc de l'Aubinière/
> /> 44000 Nantes/
> > *02 51 89 64 50*
> >
> > Accédez au courrier électronique de La Poste : www.laposte.net ;
> > 3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
> >
> >
> >
>
> *Ghislain CUSSONNEAU*
> /DIRR/DPIL/CIS
> /
> /CAP 44, Rue Marcel Sembat
> /
> /44000 Nantes/
> *02 51 84 48 80*
> /CRIL Technology
> /
> /Technoparc de l'Aubinière
> /
> /44000 Nantes/
> *02 51 89 64 50*
>
>
> /Accédez au courrier électronique de La Poste : www.laposte.net ;/
> /3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.