Setting Cache Expiry in Pro 3.14
Feb 20, 2011 4:41 pm by [email protected]
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
Re: Setting Cache Expiry in Pro 3.14
Feb 20, 2011 4:51 pm by Edvard
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]
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
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 payment | Aug 19, 2018 10:38 am | Replies: 2 | Post by: Wind777 |
Need a little help setting up | Nov 11, 2017 10:09 pm | Replies: 2 | Post by: Ramon90 |
setting up | May 27, 2017 5:10 pm | Replies: 1 | Post by: iapps |
I have subscribed, finish setting, nothing happened. | Jan 8, 2017 9:58 am | Replies: 10 | Post by: myccig |
GTranslate conflict with W3 total cache or vica versa | Oct 30, 2016 11:58 am | Replies: 3 | Post by: Rick Matters |