what can be reasons for localhost responding super-slow the first time a page is requested?

Posted by frequent on Server Fault See other posts from Server Fault or by frequent
Published on 2012-06-09T10:03:34Z Indexed on 2012/06/09 10:42 UTC
Read the original article Hit count: 212

Filed under:
|

Still learning my server-ways with Apache2.2/MySQL5.2/Coldfusion8 on localhost (running Windows XP)

What I notice is every time I request a page for the first time after firing up Coldfusion and Apache, localhost needs forever (1+ minute to respond and send the inital page). After that all seems to run at normal loading time.

I'm using require.js to pull in Jquery, Jquery Mobile and two other plugins on first page load, but loading the same page from a real server works normally, so I'm also ruling out this as a probable cause.

Since it happens regardless of which page I'm loading first it shoud not be page related, so I'm looking for other clues on why this could happen.

Thanks for some thought!

© Server Fault or respective owner

Related posts about localhost

Related posts about loading