Long delay before DOMContentLoaded is fired?!
-
I am new to WordPress but couldn’t find anything obvious when searching either the forums or the internet in general about this issue.
Basically the page loads really quickly and appears on the browser (any) very nicely. However, even after it appears the page still appears to be loading for a good 5 seconds afterwards and then finally finishes loading although nothing changes during or after that time? I’ve tried removing any Javascript and style sheets in the theme and also removing all plugins / themes so literally just using Kubric with no plugins but to no avail? As a test I simply copied the generated page source from Firefox and saved as a static HTML page to see if this had the same issue. It doesn’t and loads instantly.
I am hosting the site on a Windows server with IIS6 if that is of any relevance?
When I traced the time taken in Firebug it shows that everything completes in no time at all but that the DOMContentLoaded event isn’t fired for about 5 seconds and there is just a gap during this time where there seems to be no activity? As I say I’ve disabled Javascript etc and this makes no difference?
So why does the WordPress version take so long compared to the HTML? Is it that the HTML sends back a content-length and WordPress doesn’t?
I’ve added some links to the Firebug log, the WordPress and HTML versions and any help would be great!
The Firebug output can be viewed here:
https://www.debendoubles.org.uk/Delay.jpgThe WordPress version of the page can be viewed here:
https://www.debendoubles.org.uk/links/The static HTML version of the page can be viewed here:
https://www.debendoubles.org.uk/debentest.htmMany thanks in advance for any help given!
– Pete –
- The topic ‘Long delay before DOMContentLoaded is fired?!’ is closed to new replies.