Extension, Module

Archived
Forum
(read-only)

CE Cache

ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Causing Effect

     

Dump cache entry if empty? (Responded)

Support Request

mogmismo
mogmismo

I have a third party plugin code that I’m calling in an EE template that I would like to cache with CE Cache, as it is an extremely expensive process.  Sometimes that plugin times out and the cache gets filled with an empty string.  Is there any way with CE Cache to display the cache if it does not contain an empty value, otherwise, go fetch again?

Causing Effect - Aaron Waldon
# 1
Developer
Causing Effect - Aaron Waldon

Hi mogmismo!

CE Cache doesn’t have a parameter to ignore empty tag data. Is there anyway to increase the processing power of the failing plugin? Sometimes adding the following code to an add-on can prevent timeout:

set_time_limit(0);