Add global cacheTimeout parameter

default value is null (as before)