Forums / Setup & design / Increase Cache Refresh Timeout
Tony Stark
Thursday 24 September 2009 3:31:04 am
Is there a way to increase the time between non-manual cache flushes? it seems to be around 2 hours at present.
Thanks
Tony
Gaetano Giunta
Thursday 24 September 2009 4:57:07 am
If you are referring to cache-blocks, use the "expiry" parameter - see http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_functions/miscellaneous/cache_block
If you are referring to other caches, there is no built-in 2 hours refresh...
Principal Consultant International Business Member of the Community Project Board
Thursday 24 September 2009 5:27:00 am
is this controllable globally via an ini?
Piotrek KaraĆ
Thursday 24 September 2009 11:36:13 am
Seems hardcoded:
const DEFAULT_TTL = 7200; // 2 hours = 60*60*2
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu