CacheHelper Class

The CacheHelper is a class used to allow caching of the API data using text files to store the JSON API data. It can also be used to cache any type of data (Example needed).

For implementation details review the CacheHelper.cs file in the source code; each of its components and methods are documented.

This class is automatically called by the Templates to refresh data on publication, however if the cache needs to be deleted, by default it is cached in the /APP_DATA/API folder. Delete this folder to clear the cache.

Last edited Feb 28, 2011 at 3:07 PM by SelArom, version 2

Comments

No comments yet.