System.Web.Caching.Cache or Caching Application Block

Topics: Caching Application Block
Dec 17, 2007 at 7:38 PM
Which is better as far as peformance goes: System.Web.Caching.Cache or the Caching Application Block in Enterprise Library 3.1 ?

Jan 2, 2008 at 12:08 PM
if you are using EL then its better to use EL's caching Application Block as it provides more features than web caching.
few: with caching you can't specify both absoulteExpiration and SlidingExpiration but only one of them.
with EL caching you can specify both
if your application has multiple layers -then you can use web caching only at the application layer level but you can use EL caching at any layer
and more...

Jan 2, 2008 at 12:08 PM
Edited Jan 2, 2008 at 12:11 PM
but web caching is simple and easy to use..

Jan 2, 2008 at 7:45 PM

pravinth wrote:
but web caching is simple and easy to use..

My boss has decided for me that we won't use the Enterprise Library.

Thanks for your tips.