I'm working on a web application using PHP, Apache, and MySQL. For the past year the response times of this application have been good. Suddenly yesterday the application became very slow on Firefox (complete page load, including CSS and JavaScript files: around 20 seconds. During page load, Firefox is completely unusable). Interestingly the response times in Internet Explorer were a bit slower (around 2 seconds instead of <1 second).
The strange thing is: The application worked fine two days ago and out of nowhere became very slow. I didn't change anything in the sourcecode. I didn't change a thing in php.ini or httpd.conf. I already log the response times of PHP functions, and that performance hasn't changed.
At first I thought it had something to do with Firefox, so I completely removed Firefox, restarted Windows Vista and did a clean install of Firefox (without extensions). No result.
After testing several things I found out that when I copy the application data to another folder in my document root, the application works fine again. Problem is solved you could think, but it's very annoying that I now have to use another URL and (more important) I don't get it. Why is my application very very very slow in one folder and perfectly fine in another folder?
Does it have something to do with Firefox or with Apache? The name of the folder in which the application is very slow does not appear in either php.ini or httpd.conf.