Reply to Re: Securing public images

Your name:

Reply:


Posted by ZeldorBlat on 06/18/07 19:05

On Jun 18, 2:35 pm, cbmeeks <cbme...@gmail.com> wrote:
> > When you say "it's very demanding and it simply can't serve the data
> > as quickly as a static image in a browsable location" what evidence do
> > you have? Have you run any tests using a profiler to see what the
> > problem might be?
>
> Well, you got me there. No. Not exhaustive tests. I can notice a
> difference. Maybe not much of one but it's there. Plus, doesn't PHP
> have to load the entire image (or at least some of it) before it
> streams it to the browser? In other words, wouldn't there be more
> memory requirements vs serving it out directly?
>
> > Do you really have that much traffic, or are you
> > "planning" for the future?
>
> Mostly planning. I usually load a server up pretty heavy...as in, it
> has to do a lot of work...CPU intensive so every little bit helps.

Read this article, specifically Tip #5:

<http://www.ibm.com/developerworks/linux/library/l-clear-code/?ca=dgr-
FClnxw01linuxcodetips>

How exactly are you reading/sending the image out? The way you're
doing it can certainly have an effect on performance.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация