diff --git a/kernel/classes/eznodeviewfunctions.php b/kernel/classes/eznodeviewfunctions.php index 41480373849..53551125be3 100644 --- a/kernel/classes/eznodeviewfunctions.php +++ b/kernel/classes/eznodeviewfunctions.php @@ -611,6 +611,12 @@ static public function contentViewGenerate( $file, $args ) $validation ); + // by setting cache_ttl to 0 in tpl code no cachfile should be generated + if ( isset( $result['no_cache'] ) and $result['no_cache'] ) + { + $noCache = true; + } + // 'store' depends on noCache: if $noCache is set, this means that retrieve // returned it, and the noCache fake cache file is already stored // and should not be stored again