One major difference between web part cache and ASP.NET cache is web part cache can be stored per user or per web part, while the ASP.NET cache is global in one web application.
Using web part cache, it is impossible to share cache between different web part instances (Same type web parts).
In the web part cache write method, the first parameter storage is an enumerate value, it can be Personal or Shared. When it is set to Personal, the cache is per user basis; when it is set to Shared, the cache is per web part basis.
Also we can notice that there is no dependency capability in web part cache.
Using web part cache, it is impossible to share cache between different web part instances (Same type web parts).
In the web part cache write method, the first parameter storage is an enumerate value, it can be Personal or Shared. When it is set to Personal, the cache is per user basis; when it is set to Shared, the cache is per web part basis.
Also we can notice that there is no dependency capability in web part cache.
Comments