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?
Asked
Active
Viewed 246 times
2 Answers
3
First level cache can never be disabled. It's always on.

Krzysztof Kozmic
- 27,267
- 12
- 73
- 115
-
But I have heard somewhere that first level cache is by default enabled. Does this sentence means that it can be disabled? – Afshar Mohebi Feb 05 '11 at 12:04
-
1I said explicitly __can never be disabled__ – Krzysztof Kozmic Feb 06 '11 at 02:33
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