SharePoint Cache makes it easy to write performant and simple controls that present information from SharePoint data storages. It is inspired by MOSS Publishing Caching system and it doesn't interfere with it. It's meant to be its supplement and not its replacement.

Features
  • Enables automatic security trimming and caches security trimmed results
  • Support Major/Minor versioning
  • Result that is calculated from SharePoint objects can be any .Net type
    • The only limitation is that it must be immutable (Because the same object is used across multiple threads), for example XslCompiledTrasform, String .....
  • Basic logging (Configuration.cs controls logging to ULS logs) - recomended to turn it off for performance reasons.
  • Independant of MOSS Publishing System (can be used on WSS only) and can be used without interaction with it
  • NLB agnostic

Impetus:
Author was frustrated with sealed internal classes from Microsoft.SharePoint.Publishing.dll and was convinced that he could do a more performant and elegant caching system. This system is centred on caching custom results that are calculated from SharePoint objects and not caching SharePoint objects. In that way your systems will be even faster because u can store whole HTML result that is calculated from data.

I published source code for this project for the following reasons.
  • To disable misunderstandings of how this system works
  • To enable other people to join my cause and make a better system
  • To report my bugs and to be able to debug my code
  • There isn't a line in my code that writes to anything except ULS log file, so don't blame me for any damage
  • To give me suggestions how to improve my system

If you have any ideas or suggestions, you can contact me on my mail account.

Last edited Feb 17, 2010 at 10:08 PM by IaxiomI, version 8