|
Posted by Alexander Fischer on 10/06/06 21:30
Alexander Fischer wrote:
> Will do. Any other ideas how I could find out whether my server is too
> slow, my code sucks, or whatever else is the problem here?
Actually, now that I tried it again: when I output the image directly
from the server, it has the same - slow - speed the first time it's
loading. When I reload the page, it's there instantly - probably cached
somehow. If I really reload everything by hitting Ctrl-F5, it takes
again the half second or so.
So obviously the server or the connection is slow in itself. But there
is the different caching behavior - the static image gets cached, while
my php-output images get fully reloaded every single time. This is
especially annoying in thumbnail pages, as there first one sees all the
images, and then they flicker through as one by one is being visibly
rebuilt.
Any suggestions on how I could make sure that also my PHP-created
images will get cached the same way as static files?
Thanks,
Alex
[Back to original message]
|