Neil Murry: I tried your suggestion to change the theme, but that made no effect.
With more investigation I found the culprit to be some caching code in the web.config file. Basically it was caching the .php files.
I removed that code and everything went back to normal. Quite sad because this code cut the page load time in half.
<caching>
<profiles>
<add extension=".php" policy="CacheForTimePeriod"kernelCachePolicy=”CacheForTimePeriod” duration=”14:00:00:00″ />
<add extension=".png" policy="CacheForTimePeriod"kernelCachePolicy=”CacheForTimePeriod” duration=”14:00:00:00″ />
<add extension=".jpg" policy="CacheForTimePeriod"kernelCachePolicy=”CacheForTimePeriod” duration=”14:00:00:00″ />
</profiles>
</cachiing>