0

I have a simple level ASP.NET web application based on Castle ActiveRecord. How can I determine if first level cache is enabled within it or not?

Afshar Mohebi
  • 10,479
  • 17
  • 82
  • 126

2 Answers2

3

First level cache can never be disabled. It's always on.

Krzysztof Kozmic
  • 27,267
  • 12
  • 73
  • 115
0

Are you sure you're not thinking of the Second Level Cache?

The first level cache is essentially an identity map and as such, is always enabled.

DanP
  • 6,310
  • 4
  • 40
  • 68