Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I recently set up a VPS slice with 256MB to run a LAMP stack (Ubuntu 11.04, Apache2, Mysql, PHP5). So far I'm only running a simple Wordpress site on an IP-based virtual host I set up.

The performance is excellent, but I've noticed that if I send multiple HTTP requests from the same IP in a short time period, only partial pages are rendered. Then if I wait a bit and refresh the page, the entire page loads again. I noticed this behaviour when accessing the site from two browsers from my office desktop, but it also presents itself if I quickly navigate the site from a single browser (any browser).

I'm guessing this is an Apache phenomenon, as the pages are rendered correctly except under the conditions above, but perhaps I'm wrong here. Could it be my hosting company with some kind of DOS protection in place?

As a relative Linux/server noob, I'd really appreciate any insight into what settings in Apache could explain this behaviour, and how I might go about changing it.

share|improve this question

1 Answer 1

"Rendering" is nearly completely a client-side thing. Once the server has sent you all the resources needed to render a page, it's up to the browser to actually render it. If you think the server isn't sending you all the resources required to render the page, that's a different problem.

A tool like Firebug or Chrome's "Inspect Element" tool can help figure out whether you are receiving all the required resources or not.

If you want to know what the server is doing the best trick is to check your Apache access logs for size differences in the pages being sent, different HTTP status codes (such as 500) or error messages about DOS protection in the error log.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.