best Cache Time and Session Lifetime

Discussion regarding Joomla! 1.5 Performance issues.
Locked
User avatar
vipinsahu
Joomla! Explorer
Joomla! Explorer
Posts: 311
Joined: Fri Dec 18, 2009 9:23 am
Location: India
Contact:

best Cache Time and Session Lifetime

Post by vipinsahu » Wed Dec 30, 2009 8:28 pm

what should be the best Cache Time and Session Lifetime for joomla means by default it is 15 minute
what will effect this time
Vipin sahu
PHP/Joomla, Social Media , Magento Developer
http://webkul.com
http://voipkul.com/

User avatar
dizzi
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3136
Joined: Fri Dec 21, 2007 9:36 pm
Location: Yorkshire, UK

Re: best Cache Time and Session Lifetime

Post by dizzi » Thu Dec 31, 2009 12:33 am

I don't think (and that's my personal view :)) that there are "best" values for those settings. Its often down to a matter of personal choice or what is appropriate for your particular circumstances. If your site's content is constantly being updated, then lower the Cache Times (15 or maybe 10 minutes) may be be suitable. On the other hand, if your site is not too busy then enabling cache may not even be necessary.

There is a security element associated with Session lifetimes so it not a good idea to set that value too high. However, I do find the 15 minute time outs a bit of an annoyance so I usually increase it to 30-45 minutes on occasions. Please be aware of the increased security risks involved though, if you choose to raise the value.
Freedom of expression ... some may try to suppress it but they can never take it away ...
There is no problem a good miracle can't fix.

User avatar
vipinsahu
Joomla! Explorer
Joomla! Explorer
Posts: 311
Joined: Fri Dec 18, 2009 9:23 am
Location: India
Contact:

Re: best Cache Time and Session Lifetime

Post by vipinsahu » Thu Dec 31, 2009 3:30 pm

Thanks dizzi ;)
Vipin sahu
PHP/Joomla, Social Media , Magento Developer
http://webkul.com
http://voipkul.com/

Dylkc
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Jan 19, 2011 7:25 am

Re: best Cache Time and Session Lifetime

Post by Dylkc » Wed May 25, 2011 12:54 pm

Does the session lifetime have an impact on server performance. I have two sites on a dedicated server and it has been down the whole day due to an increase in traffic from a promotion.

User avatar
vipinsahu
Joomla! Explorer
Joomla! Explorer
Posts: 311
Joined: Fri Dec 18, 2009 9:23 am
Location: India
Contact:

Re: best Cache Time and Session Lifetime

Post by vipinsahu » Wed May 25, 2011 1:11 pm

session time is for your session only not much related with the performance
Vipin sahu
PHP/Joomla, Social Media , Magento Developer
http://webkul.com
http://voipkul.com/

haiwasnm
Joomla! Apprentice
Joomla! Apprentice
Posts: 48
Joined: Thu Apr 05, 2007 1:32 pm
Contact:

Re: best Cache Time and Session Lifetime

Post by haiwasnm » Mon Dec 19, 2011 2:21 am

i set it to 980 time, also you can test on http://www.pingdom.com/

Jarod545
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Fri May 25, 2012 10:25 am
Contact:

Re: best Cache Time and Session Lifetime

Post by Jarod545 » Tue Aug 07, 2012 9:49 pm

i set it to 40000 my site content doesnt change thas why i think it doesnt matter

pieters
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Nov 03, 2006 2:44 pm

Re: best Cache Time and Session Lifetime

Post by pieters » Tue Sep 03, 2013 12:06 pm

@dizzy

Why is there an increased security risk involved with higher cache time?


Locked

Return to “Performance - Joomla! 1.5”