title: Diagnosing Slow Initial Load
body: <p>How do you go about diagnosing a website that initially loads slowly? That is, it is unresponsive for up to 10 seconds, and then loads quickly after that.</p>
  
  <p>You can see the loading chart here: <a href="http://www.webpagetest.org/result/130128_XV_GVN/3/details/" rel="nofollow">http://www.webpagetest.org/result/130128_XV_GVN/3/details/</a></p>
  
  <p>I know that "something" is slowing it down, but I can't tell what. Is there any way of knowing what is causing the delay?</p>
  
  <p>EDIT: Here are the values from Joomla's debug mode:</p>
  
  <pre><code>Application 0.013 seconds (+0.013); 1.33 MB (+1.327) - afterLoad
  Application 0.783 seconds (+0.770); 9.53 MB (+8.199) - afterInitialise
  Application 0.952 seconds (+0.169); 11.00 MB (+1.473) - afterRoute
  Application 1.164 seconds (+0.212); 12.76 MB (+1.758) - afterDispatch
  Application 2.453 seconds (+1.289); 19.04 MB (+6.287) - beforeRenderModule mod_roknavmenu ()
  Application 2.858 seconds (+0.405); 20.91 MB (+1.865) - afterRenderModule mod_roknavmenu ()
  Application 2.977 seconds (+0.119); 20.98 MB (+0.075) - beforeRenderModule mod_login (Member Access)
  Application 3.012 seconds (+0.035); 21.09 MB (+0.102) - afterRenderModule mod_login (Member Access)
  Application 3.019 seconds (+0.008); 21.09 MB (-0.000) - beforeRenderModule mod_hot_joomla_carousel (Front Page Carousel)
  Application 3.033 seconds (+0.014); 21.13 MB (+0.040) - afterRenderModule mod_hot_joomla_carousel (Front Page Carousel)
  Application 3.057 seconds (+0.024); 21.12 MB (-0.010) - beforeRenderModule mod_rokgallery (FP RokGallery)
  Application 3.793 seconds (+0.736); 29.68 MB (+8.570) - afterRenderModule mod_rokgallery (FP RokGallery)
  Application 3.847 seconds (+0.053); 29.64 MB (-0.048) - afterRender
  </code></pre>