title: Orchard CMS 1.5 Very Slow to Load Pages
body: <p>I am developing my first site using Orchard 1.5 and I am concerned about the speed of the site.  I realize that in development mode that pages are being compiled dynamically which will cause slowness, but I have done the following to set the site to production mode, and still, from page to page, each request is taking anywhere from 2 to 6 seconds to display.  Here is what I have done:</p>
  
  <ol>
  <li>Built the solution using a "Release" build</li>
  <li>Logged out from the site (viewing as anonymous)</li>
  <li>Set the application as the root site in IIS</li>
  <li>Disabled the "Shape Tracing" module</li>
  <li>Set the <code>&lt;compilation debug="false" ...&gt;</code> in the web.config</li>
  <li>Set the theme to the base TheThemeMachine theme </li>
  </ol>
  
  <p>I only have 5 pages of very basic content and the home page contains only the default content from the setup of Orchard.  All pages are slow to load.  Here is my site map:</p>
  
  <ul>
  <li>Home <em>(2 sec load)</em></li>
  <li>About Us <em>(2 sec load)</em>
  <ul>
  <li>Bios <em>(a projection page - 6 sec load)</em>
  <ul>
  <li>John Doe <em>(2 sec load)</em></li>
  <li>Mary Jane <em>(2 sec load)</em></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>With these settings in place, the page load times are still unacceptably slow. I am only testing this on my local machine and haven't rolled it out to the production server yet, but my machine is a robust quad-core machine, running Windows 7 with 8GB of RAM, so I don't see how it's much different than our production servers.  Since all the requests are local, the network bandwidth is a non-issue.  The only thing that would be different than in full production is that the application is accessing the SQL server on the network, but I can't imagine that there is that much SQL traffic.</p>
  
  <p>FYI - I am checking the load time from FireBug and only using the value from the initial GET to the server and not any ancillary requests.</p>
  
  <p>Is what I am seeing normal for an Orchard site, or what other changes should I make to optimize performance?  When I go to www.orchardproject.net, it is very snappy (&lt;300ms response) even with all their content, so why is my simple configuration so slow?</p>