HI
Because all the site elements are stored as Directories OR files on the disk, we enable the caching for site elements data to improve the performance. All caching should be keep alive until it is changed on the CMS. When you modify the disk file data directly, the caching will not be notified because there is no file dependency on the caching. You can clear the site caching under the site setting manually, there is a "Clear caching" button under the site setting.
Kooboo cms uses the new caching API in .NET4(System.Runtime.Caching), it can be extended. We expect to provide the distributed caching provider for Kooboo cms. We have wrapped the caching manager for every site to help the developer to use it easily. Here is the example:
Code:
site.ObjectCache().Add(cacheKey, o, CacheProviderFactory.DefaultCacheItemPolicy)
If you want to clear the clear all the caching under the site, you can invoke the ClearCache:
Regards,
Jifeng Huang
Kooboo Team
Microsoft ASP.NET MVP