[TYPO3-performance] TS-Rendering - IMG_RESOURCE - 622 ms - Solution
masi-no at spam-typo3.org
Tue Sep 29 20:36:16 CEST 2009
Martin Holtz schrieb:
>>> So I don't think we can say for sure, that the new way definitely will be a
>>> performance increase, just by comparing the functions directly.
>>> Each time the new check decides "false", while the old check would have
>>> decided "true", we will create a new file.
>> I guess that depends whether the mtime changes a lot without any actual change of the content. This
>> might happen if you touch() files for some reason. The file size shouldn't change without reason.
>> Any change of size must force a recreation (the check for the mtime can be omitted in this case).
> i sometimes had some trouble with servers where the ftp-client set chmod
> 700 on all files, so the apache had no right to alter. So i have to make
> an chmod -R *
> but IMHO that is an wrong server setup, so it should not get too much
Is a config switch worth the hassle? A single if will cost less than a file system access, so it
won't hurt much. IMHO in normal circumstances mod. time is enough, but those with special needs can
use the old md5 method.
More information about the TYPO3-performance