[TYPO3-performance] TS-Rendering - IMG_RESOURCE - 622 ms - Solution

JoH asenau info at cybercraft.de
Wed Sep 30 18:24:56 CEST 2009


> Please re-read my code:
>
> if (size changed) { // any size change, means content change
>   make new image
> } else {
>   if (mtime changed) { // mtime change, could mean content change
>     // make md5 test only, if mtime is not enough for you
>     if (noContentCheckFlag set || content changed)
>        make new image
>     }
>   }
> }

You didn't mention the "|| content changed" part before.
Now we are on the same track :-)

+1 from me

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
TYPO3 workshops: http://workshops.eqony.com




More information about the TYPO3-performance mailing list