caching methods - imona/tutorial GitHub Wiki

putPlatformCacheItem(String cacheID, String key, Object value)

if the cache is enabled in the platform this method will add item with key=key and value=value to the cache= cacheID and if not it will add this value to the database.

getPlatformCacheItem(String cacheID, String key) if the cache is enabled in the platform this method will get item with key=key from cache= cacheID and if not it will get this value from the database.