ASP.NET: mixing OutputCache with Server.Transfer Mar 26, 2009

If there's any ASP.NET developers reading this blog, here's a small tip for you guys.

If you want to optimize your page performance by using the "@OutputCache" directive you might notice that the caching does not work when you perform a "Server.Transfer" operation to that "cached" page.

It's a really long story why this happens... But to work that out just replace the "Server.Transfer" calls with the "Server.Execute" calls. Important: remember to pass the "Response.Output" to this method (NOT some custom text-writer, exactly "Response.Output"):


//this does not work
Server.Transfer("MyCachedPage.aspx");

//this works. Note the "Response.Output"
Server.Execute("MyCachedPage.aspx", Response.Output);

Bring Down IE6 Mar 22, 2009

A campaign by Brirish ".NET magazine": bring down IE6. "IE6 is the next Netscape 4" - so true.

Jitbit Helpdesk - hosted version Mar 6, 2009

We are happy to announce the beta launch of the hosted version of our Helpdesk Software. We will take care of the installation, hosting and maintenance of your helpdesk for under $30 a month.

The hosted helpdesk will, of course, stay completely free during the beta stage. All beta-testers are eligible for a free 6-month run after the final release. Please apply for a beta test using the links above.


Blog Archive