fixed bug when ignore-cache-if-older-than was zero