Forum Archive - Setting Cache Expiry in Pro 3.14

Setting Cache Expiry in Pro 3.14
Feb 20, 2011 4:41 pm by [email protected]
I see the default expiry time is set to one year : define('CACHE_TIME', 365*24*60*60); // 1 year Can you please post instructions to set for x days, x weeks, x months etc? Many thanks! PS - a superb upgrade. LOVE the editing ability :D
Re: Setting Cache Expiry in Pro 3.14
Feb 20, 2011 4:51 pm by Edvard
The caching logic is changed in this version. Now it caches the translation string instead of the whole page. So if you post something new on your site, it will be visible when browsing in the new language. In previous version you needed to wait 20 by default to see the updates on your translated page. So, now you set a cache time for a sentence or a short text. I think that there is no need to put less than 1 year. For example: I want to translate flowers to Spanish, whenever I ask Google to do that, it will give me the same result, so 1 year is good to use for cache. It will keep the response for one year and will not ask Google to translate flowers again to Spanish.
Re: Setting Cache Expiry in Pro 3.14
Feb 20, 2011 4:55 pm by [email protected]
This just gets better and better - you've really thought this through. Will be posting a very positive review on Joomla Extensions (username will be siteease if you want to look out for it!) Many thanks once again. Chris
Re: Setting Cache Expiry in Pro 3.14
Feb 20, 2011 4:56 pm by Edvard
Thanks for your kind words and thanks for the review in advance.

SIMILAR TOPICS

2 questions: w3 total cache and paymentAug 19, 2018 10:38 amReplies: 2Post by: Wind777
Need a little help setting upNov 11, 2017 10:09 pmReplies: 2Post by: Ramon90
setting upMay 27, 2017 5:10 pmReplies: 1Post by: iapps
I have subscribed, finish setting, nothing happened.Jan 8, 2017 9:58 amReplies: 10Post by: myccig
GTranslate conflict with W3 total cache or vica versaOct 30, 2016 11:58 amReplies: 3Post by: Rick Matters

Try GTranslate with a free 15 day trial