Author Topic: Speed "Problem"  (Read 5004 times)

0 Members and 1 Guest are viewing this topic.

Offline Gre

  • Newbie
  • *
  • Posts: 36
    • View Profile
Speed "Problem"
« on: September 15, 2002, 12:14:48 PM »
Hi,

I spent some time yesterday to fill my 4images installation with pictures and change the theme.

I used external images, the images are located on a different server. Using this setup I get as a result that the pages load very slow, which is interesting because the ext. server is quite fast.
There is a time period of about 5 sec. where nothing happens, then the page is loaded.

I made one new cat where I use local img - here it loads "normal" - the page is loading right away. But only when there is no random picture - then I have the impression that it is slow again.

Any idea what this can be?  :idea:

http://www.doce.de

It should not be a slow server, the server might not be the fastest, but I have phpnuke running there and there I do not see this behaviour (natal.de).


Greetings

Greg

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Speed "Problem"
« Reply #1 on: September 15, 2002, 01:26:03 PM »
Try to set in "includes/constants.php"
Code: [Select]
define('CHECK_REMOTE_FILES', 1);
to
Code: [Select]
define('CHECK_REMOTE_FILES', 0);
Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Gre

  • Newbie
  • *
  • Posts: 36
    • View Profile
Speed "Problem"
« Reply #2 on: September 15, 2002, 02:03:05 PM »
hmm, already was set to 0.

changed it to 1 - but it does not seem to make a big difference.

thanks anyway! Might have been the solution! :-)

Greg


Quote from: Jan
Try to set in "includes/constants.php"
Code: [Select]
define('CHECK_REMOTE_FILES', 1);
to
Code: [Select]
define('CHECK_REMOTE_FILES', 0);
Jan

Offline Gre

  • Newbie
  • *
  • Posts: 36
    • View Profile
Speed "Problem"
« Reply #3 on: September 16, 2002, 11:08:17 AM »
When I look into the external server logs I see that there the 4images server makes all the connections to my external images. I did not expect this. I expected that my client IP fetches all the images from the external server. So the pictures from the external server are not send directly to the visitor? Or is that normal that the 4images php server makes the request to the external image but the images are sent directly to the client anyway?  :roll: