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 #177996 is a reply to message #177992] Thu, 10 May 2012 12:01 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 5/10/2012 2:50 AM, Michael Fesser wrote:
> .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
>

Have you actually checked how much overhead there is to process a not
found? It is quite significant.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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: Thu Nov 28 15:41:41 GMT 2024

Total time taken to generate the page: 0.06689 seconds