Long (5 second) DOMContentLoaded wait when opening PHP file
<p>Thanks in advance for your help with this. I've got a very simple PHP file that returns HTML code for an image based on some passed parameters. The code works fine, and the image shows up quickly. However, the page itself doesn't finish loading for a good 5 seconds, which is interfering with some AJAX calls I'm trying to do. Firebug says the time breakdown is like this:</p>

<ul>
<li>0ms: DNS lookup </li>
<li>0ms: Connecting </li>
<li>0ms: Queuing </li>
<li>211ms: Waiting for response</li>
<li>14ms: Receiving data</li>
<li>+5.32s: 'DOMContentLoaded' (event)</li>
<li>+5.33s: 'load' (event)</li>
</ul>

<p>Here's my PHP code:</p>

<pre><code>&lt;?php

$getimage = $_GET['p'];
$getcity = $_GET['c'];

?&gt;

&lt;img src="/images/photos/big/&lt;?php echo $getcity; ?&gt;_&lt;?php echo $getimage; ?&gt;.jpg" alt="" class="gallery" /&gt;
</code></pre>

<p>Pretty simple, no? Any idea what's going on?</p>
