Accepts a custom cache time