disable cache if $duration == 0