Disk Based Output Caching Feature Now Available for ASP.NET 2.0

Dmitry continues to crank out cool ASP.NET utilities you can use.  A little earlier today he posted a Disk-based Output Caching Module for ASP.NET 2.0 complete with full source code.  There are two big advantage this module provides over the built-in in-memory output caching system:

1) It persists output-cached content across application restarts and worker process restarts.

2) It avoids having to store a lot of output cached content in memory (since it is instead saved to disk and then transmitted via Response.TransmitFile).

You can learn more and download it here.

Hope this helps,

Scott

 

Published Tuesday, December 13, 2005 6:25 PM by ScottGu

Comments

# re: Disk Based Output Caching Feature Now Available for ASP.NET 2.0

Tuesday, December 13, 2005 11:19 PM by Simon Fell
In that case i hope you got around to fixing transmitFile, in 1.x it was a stupidly brain deal impl.

# re: Disk Based Output Caching Feature Now Available for ASP.NET 2.0

Wednesday, December 14, 2005 11:24 AM by foobar`
YAY! I was just grumbling to myself yesterday that I needed the disk-based caching feature in ASP.NET, only to find out it was removed in the RTM version.

# re: Disk Based Output Caching Feature Now Available for ASP.NET 2.0

Wednesday, December 14, 2005 12:57 PM by scottgu
Hi Simon,

I believe there was actually an implementation change to TransmitFile in an SP a couple of years ago (not sure if that is what you are referring to).

The current implementation of TransmitFile no longer opens or reads-in a file's content -- instead it gets sent back directly to a calling client. This makes it ideal for transmitting large files, as well as avoiding having to allocate things in memory.

Hope this helps,

Scott

# re: Disk Based Output Caching Feature Now Available for ASP.NET 2.0

Wednesday, December 14, 2005 7:50 PM by fjbysf
I believe there was actually an implementation change to TransmitFile in an SP a couple of years ago (not sure if that is what you are referring to).

# Links of the Week

Monday, June 12, 2006 4:33 PM by Jeff W. Barnes
The New Methodology Updated version of Martin Fowler's essay that describes the essentials of Agile Methods....

# ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas

Tuesday, August 01, 2006 11:55 AM by ScottGu's Blog

This page lists some of the more popular “ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas”

# re: Disk Based Output Caching Feature Now Available for ASP.NET 2.0

Monday, December 04, 2006 4:03 PM by Ecreo webløsninger

Great link - ASP.NET and caching just keeps getting better and better...