FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Re: Windows binaries 64bit for PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Windows binaries 64bit for PHP [message #177992 is a reply to message #177989] Thu, 10 May 2012 06:50 Go to previous messageGo to previous message
Michael Fesser is currently offline  Michael Fesser
Messages: 215
Registered: September 2010
Karma:
Senior Member
.oO(Jerry Stuckle)

> On 5/9/2012 6:23 PM, Michael Fesser wrote:
>> .oO(Jerry Stuckle)
>>
>>> OK, so you do it "on the fly" and store the result. That still takes
>>> more time than doing it once and forgetting it. Your way, you have to
>>> check on every request for the image to see if your size exists before
>>> deciding if you need to rescale it or not. Another unnecessary waste of
>>> processing time.
>>
>> You can catch that with Apache's error handling. If the image is not
>> found, the 404 error handler kicks in and creates it.
>>
>> Micha
>>
>
> Which is even more overhead...

Wrong. The little overhead happens just once if the image doesn't exist
yet. After then it's just a static resource, which will be delivered
directly by the server.

Micha

--
http://mfesser.de/blickwinkel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: variable replacement in string
Next Topic: Re: Windows binaries 64bit for PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 07:06:34 GMT 2024

Total time taken to generate the page: 0.04877 seconds