If there are no user actions that require cache invalidation, invalidation may still occur depending on the timeout setting in the ATGProfileManager
. All entity objects have a cacheTime
property that can be compared against the PROFILE_CACHE_TIME_OUT_SEC
in the ATGProfileManager
to determine if certain cached entities should be invalidated.
The in-memory cache is not persisted between application restarts.
Implementers can choose whether this type of in-memory caching is appropriate for their needs, to use a variation of this approach, or to avoid it. Only the ATGProfileManager
includes an example of in-memory caching implementation, other managers do not implement any in-memory caching.