Performance Zone is brought to you in partnership with:
DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Mike has posted 9 posts at DZone. View Full User Profile

.net Pipeline Optimization For Www Sites.

05.16.2008
| 2280 views |
  • submit to reddit
        Put the following code in the system.web part of the web.config file of the site you are working on.
It will take out the session tracking and authorization http modules for your application. 

      <httpModules>
        <!-- Remove unnecessary Http Modules for faster pipeline -->
        <remove name="Session" />
        <remove name="WindowsAuthentication" />
        <remove name="PassportAuthentication" />
        <remove name="AnonymousIdentification" />
        <remove name="UrlAuthorization" />
        <remove name="FileAuthorization" />
      </httpModules>

and yes I copied this from someone else, unfortunately I don't remember who.