PHP Thumbnail image generator works, but consistently awaits 90% of its loadtime! Why?
Posted
by
Sam
on Stack Overflow
See other posts from Stack Overflow
or by Sam
Published on 2011-03-11T20:25:24Z
Indexed on
2011/03/12
0:10 UTC
Read the original article
Hit count: 312
Hi folks,
This is the follow-up question from this general page load speed question. This question which will focus only, entirely and specifically on the thumbnail generator PHP code with the question:
What's causing the 97% delays on these tiny thumbnails?
Measuring only 3 ~ 5 kb each, this is strange indeed!
Even after 7 orso bounty-rounds and 100 upvotes, the images are still doing nothing for over 97% of the time. It works allright, but it could be so much faster!
ZAM, my pet robot, was so annoyed by not knowing why, he just pulled out some cords! Silly metal box...
(I have asked permission from the original author, to put temporarily segments of the code online that I think could be the problem, after which I will remove all code, except the several lines that were the direct cause of this issue here to match the answer. This will be the free opportunity to perfect/speedup his otherwise already to my opinion vert versatile and userfriendly thumbnail generator.)
© Stack Overflow or respective owner