Yes, you don't want to set it super long like that because the values cached are things like the user's avatar (which may be updated more often than once a month), the posts in your social stream (which likely gets more posts than once a month), etc.(i set to 120 minutes even if i wish i could be possible to set one month. is it possible? any reason to have this value so short?)
alzander wrote:
great in this case i will keep 120 min.By having a cache of 2 hours, it will speed up the login process in a few ways:
* The avatar and some other profile data is only downloaded one time, even if you are importing the avatar into multiple extensions
* If the user logs in 2 times over the 2 hours, the 2nd one should be even faster than the first login
On the previous JFB version the login process didn't prompt the lightbox with the "please wait" message so probably I (and other users too) did not notice it was logging in until the page was refreshed due to the "afterlogin" redirection (even if the setting was "redirect to the same page".As for testing, I just tried and a) the auto-login process worked right away when I visited your page and b) the login took about 3-4 seconds, which was pretty fast. How long of login times are you experiencing?
So the lightbox makes the process appear more slow, but in other hands it helps to understand why the page will be reloaded. In the previous version the reload of the page without any message looked like a malfunction.
I was wondering if there is any chance to get a login with Ajax in the future so we could get rid of the lightbox and of the page reload.
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
