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

Martin Kutschker masi-no at spam-typo3.org
Sat Sep 26 12:40:38 CEST 2009


JoH asenau schrieb:
>> mtime is enough imho. Anytime you change the pic, mtime change too. So
>> this is the cheapest check and the only needed.
>> If you don't agree, give me an example where mtime change and file is
>> identical.
> 
> Open the file in Photoshop
> change something
> save the file
> revert the change because you noticed it was wrong
> save the file
> =>
> different mtime
> same content
> 
> :-)

Yeah, but this is an edge case. This won't hurt performance in a real
world situation. For me the mtime and size check is enough. That is if
*either* mtime *or* the size has changed recreate the image.

Masi


More information about the TYPO3-performance mailing list