[opencms-dev] CmsJspNavBuilder->getSiteNavigation
Matthias Griselle
mgriselle at gmail.com
Fri Feb 28 11:11:03 CET 2014
Why do you store the results in a session variable ? Is the content
depending on the user ? If not, why storing the same information many times
?
With Kai's solution, the cache is for all users. So the very first call
will be long (those 12 sec), but then, it will be faster for all users.
Same for Fabian's solution. The cache will be made for all users. So only
the very first call will be long.
Regards,
Matthias
2014-02-27 14:13 GMT+01:00 <T.Kluge at t-systems.com>:
> Hi,
>
> I already do that by story the resulting object in a session variable. But
> there is still the initial delay if a user is logging on.
>
> Best regards,
> Thomas
>
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org [mailto:
> opencms-dev-bounces at opencms.org] Im Auftrag von
> fhsubscriptions at componio.net
> Gesendet: Donnerstag, 27. Februar 2014 14:05
> An: The OpenCms mailing list
> Betreff: Re: [opencms-dev] CmsJspNavBuilder->getSiteNavigation
>
> Simply put: you encapsulate getSiteNavigation in your own class and
> introduce a custom cache along the way.
>
> \Fabian
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140228/2cb2a4c3/attachment.htm>
More information about the opencms-dev
mailing list