Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

Displaying contents of output cache

Would anyone happen to know a way to enumerate/dump the contents of the output cache?  (the place that cached pages and page fragments are stored).

For the life of me I cannot see where this object is stored within ASP.NET.


Rock G.
Saturday, February 12, 2005

It is just called Cache from within your ASP.NET code.

It also implements IEnumerable, so you can check what's in it, if you really want to, but why would you want to.

Monday, February 14, 2005

The output cache doesn't appear to be stored in Cache ... when you enumerate it, cached pages aren't there.

Rock G.
Friday, February 18, 2005

Oh, you mean that cache.

Why would you want to do that ?

Monday, February 21, 2005

It's interesting, from a debugging and diagnostics perspective, to see what pages are currently held in the output cache.

Rock G.
Saturday, February 26, 2005

*  Recent Topics

*  Fog Creek Home