Apache serving images really slow!

Discussion in 'Server Operation' started by edge, Sep 10, 2008.

  1. edge

    edge Active Member Moderator

    Hi all,

    For some reason my always running nice webserver is slow as hell..
    The problem is that the images are slowing things down a lot!

    Loading a page with just text is nice and fast.
    Loading the same page (with some small images) is really slow (talking about seconds here!)
    It's the same when just looking at the image. The image is almost shown being buildup line by line (like a scanner)
    example: http://www.data-hosting.eu/test.jpg

    A just text file is nice and fast: http://www.data-hosting.eu/test.html

    Downloading a file from the server is nice and fast, so it's not the bandwidth.

    Anyone here who might know what could be causing this?
     
    Last edited: Sep 10, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

    Strange... Are there any errors in the logs?
    Have you tried to optimize Apache?

    If you're having lots of images, you could use lighttpd to deliver them (and other static content), it's lightning fast.
     
  3. edge

    edge Active Member Moderator

    Hi falko,

    It looks like it's a network problem.
    I've contacted the provider, and they are looking at it.

    However I will give lighttpd a test run as soon as the networking problem is fixed.
     

Share This Page