Forums / Setup & design / Increase Cache Refresh Timeout

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Increase Cache Refresh Timeout

Author Message

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

Tony Stark

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