• Do not have empty destructors in your classes.
• In case you need to clean up use finalize dispose pattern with ‘SupressFinalize’ method called.
• If there is a dispose method exposed by a class , ensure to call the same from your client code.
• Application should have more objects allocated in Gen 0 than Gen 1 and Gen 2. More objects in Gen 1 and 2 is sign of bad GC algorithm execution
• If the files are already compressed do not enable compression on those files. We can safely disable compression on EXE , JPEG , PDF etc.
• For static pages compression level can be set to 10 as the compression happens only once.
• Compression level range can be from ‘4’ to ‘6’ for dynamic pages depending on the server environment and configuration.The best way to judge which compression level suits best is to perform TTFB, CPU utilization and compression test as explained in this article.
(http://www.codeproject.com/KB/aspnet/DONETBestPracticeNo2.aspx)