So just explaining this one is odd and I have no idea what information to provide. Essentially, apache serves up some file types extremely slowly compared to other files, but inconsistently. Generally the file types which go slowly are media files such as avi, mp4, mpg, etc. Transferring a large .txt file is no problem. I have no idea where to even begin looking for the problem. Any ideas?
This might be related to the media files being non-compressible, whereas the text files are automatically compressed with
It may also be related to your internet connection: perhaps your internet connection, or some proxies around it, use some behind-the-scenes compression of your traffic, thus making it appear that text files are served faster.
Alternatively, if you're using some cool new filesystems with disc compression, this might also be related to the fact that the text files are compressed at the storage medium, and are faster to read into memory, whereas the media files are not compressed, and require intensive disc IO for reading.