I have been using the build-in Apache in Lion (and previously Snow Leopard) to develop php sites locally. But something is bothering me for a while which I don't have an answer for.
Every time I do a request after I haven't used my localhost for a few minutes it loads really slow. The request could take up to 15 seconds to complete (even without php). But if I press reload (command+r) during the load process it starts over, but loads pretty fast. After this first load everything loads pretty fast but it stops being fast when I let it sleep for a while.
Anyone knows where I can look for the answer for my problem? Any help is appreciated!