Added cache flag for managers to cache their results
Allow setting of cache expiry when setting cache