AFCache class - which objects and collections are cached?

Discussion created by MikeRay on Mar 6, 2013
Latest reply on Mar 8, 2013 by cmanhard

Hi All,


I am trying to optimize performance of my application and to this end I am looking at setting sensible CacheTime and MaxObjects values. As part of this I need to know what types of objects are kept in the cache. The documentation says this:


"This class caches certain AF objects and collections to prevent them from untimely garbage collection. " and "The AF SDK will cache certain objects and collections for a short period of time to prevent them from being garbage collected too soon. You can use the properties and methods of this class to control how long and how many objects the AF SDK will cache. You can also request that the AF SDK empties its cache. "


Does anyone know or can explain what the certain objects and collections are?


Thanks for the assistance.