Fix for cacheTimeout undefined value, #266