Apache optimizations?

Red Squirrel

[H]F Junkie
Joined
Nov 29, 2009
Messages
9,211
What are some good things to optimize in Apache for overall faster processing? I noticed on my server pictures take a very long time to load. Often they load partially, stop, then continue. Almost tells me there's some kind of buffering that happens, and I need to increase that value.

You can see what I mean here if you browse through the gallery:

http://gal.redsquirrel.me/?level=picture&id=1543

You'll notice that the pic loads about 75%, stops, then finishes. It can be a few sec delay before it continues.

Keep in mind this is a dedicated server in a data centre that has a 100mbps connection and does not get all that much traffic. So it's not overloaded or anything like that. I just think there's something I need to tweak maybe.
 
I don't really want to switch the whole server software or run two, that's just overcomplicating things. Is there not something in Apache I can do to optimize picture loading? I'm almost convinced it's some kind of buffer I can set. Since they always load about 75%, stop, then finish loading.
 
You'll never get amazing performance out of Apache unless you strip out absolutely all the loaded modules. Your pictures still get ran through for example your php parser (if its installed), etc.

You really should consider either switching to nginx or lighthttpd for static and apache.
 
You'll never get amazing performance out of Apache unless you strip out absolutely all the loaded modules. Your pictures still get ran through for example your php parser (if its installed), etc.

You really should consider either switching to nginx or lighthttpd for static and apache.

Though certainly there is a way to simply correct his problem using his existing 'Apache-only' setup rather than moving to a separate product. Otherwise, every website running Apache would suffer from his problem. So if there's a configuration change that can solve his problem, I'm sure the thread starter would be far more interested in that over a 'use a different program' solution.

I know, anyways, that I'm interested in hearing the possible fixes to his problem.
 
Yeah there are plenty of sites running Apache out there, switching to something else is not really the solution. The issue is with my specific setup, maybe even something I changed at one point that I don't remember. Does not do it on my local server (same gallery, same pics etc).
 
Back
Top