Springboard Pillow
Paddling in the murky bits of the byte stream
Thursday, October 15, 2009
How To Capture Page Output, Caching
Found this on the net, while trying to capture the rendered output of a page...
http://codebetter.com/blogs/jeffrey.palermo/archive/2004/11/25/33685.aspx
Only takes a little modifying to adjust to writing to disc. In .NET2.0 and above you can use the File.WriteAllText to dump out your html file and easily implement disc caching:
http://msdn.microsoft.com/en-us/library/system.io.file.writealltext.aspx
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment