Apache images.
Moderator: General Moderators
Apache images.
Hello. I'm using Apache server. PHP code is working fast, but imeges load VERY slow, whatmight be the problem?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
I don't believe there are any settings in Apache to do that.... what would be the point? Does this even happen when running scripts on localhost 127.0.0.1 ?
Post some code... it may be something else.
As already asked... have you noticed performance increases using other web servers?
EDIT: Like feyd is getting at too. Are you're images from relative or absolute URL's? i.e. http:// or /dir/file.jpg ??
Post some code... it may be something else.
As already asked... have you noticed performance increases using other web servers?
EDIT: Like feyd is getting at too. Are you're images from relative or absolute URL's? i.e. http:// or /dir/file.jpg ??
Here is some code, but it's plain HTML.
Maybe somebody know about some settings for seperate stream from html??
Code: Select all
<td width="8%">
<img src="../images/sil_mtb.gif" width="56" height="56">
</td>- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
http://propertysold.ca/
It's slow by itself, but images, when you load page first time comes after everything else.
It's slow by itself, but images, when you load page first time comes after everything else.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Images loaded as normal for me. The very first time I viewed the page. The page just showed as a blank white screen and the kaboom, the whole page appeared. OK it took a while but that'll just be bandwidth issue like I mentioned earlier.... shared server by any chance?
I also notice that you link to all your background images like this
http://www.propertysold.ca/img/view_listings_bg.gif
Change these to relative urls (i.e. /img/view_listings_bg.gif etc).... that should shave some time off.
Thumbnail scripts slow things down a bit too.
Doesn't seem too abnormal to me though

I also notice that you link to all your background images like this
http://www.propertysold.ca/img/view_listings_bg.gif
Change these to relative urls (i.e. /img/view_listings_bg.gif etc).... that should shave some time off.
Thumbnail scripts slow things down a bit too.
Doesn't seem too abnormal to me though