Pfz.Caching
Paulo Zemek
Version: 1.0
Pfz.Caching is a complete solution to cache any serializable object. It's main purpose is to reduce memory utilization and network traffic.
It's key features are the capability to store ViewStates locally and to create Cache objects anywhere.
When storing ViewStates locally, it sends only an ID to the client, which increases security as the client can't change the ViewState, and it also guarantees that the ViewState from one client can't be accessed by another client.
Internally, the ViewState cache uses the simple Pfz.Caching.Cache class, which is able to reutilize buffers still in memory, avoiding unnecessary disk reads, and also works as a hashset of buffers, avoiding identical files to be created, which also reduces file usage.
It is possible to use the Pfz.Caching.Cache class even when big data need to be stored in session instead of ViewState.