[TYPO3-core] RFC #12232: Bug: md5_file() to check if a file has been changed is very expensive [performance]

André Stösel andre at stoesel.de
Thu Oct 21 13:54:05 CEST 2010


> > +1, I will argue against every new option, if I don't see the big
> > need for it - but support everybody who makes efforts to remove some
> > of the useless config options!
> > 
> > So -1 for a new option.
> > 
> > In the last time, we usually used filemtime + filesize as check,
> > whether a file has changed.
> 
> The new patch (without any options) is attached.

Today i read the last patch again and changed it a bit.
The filesize-condition before the filemtime-condition doesn't make any
sense without the flag to force the md5_file-check.

v3 attached ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_12232_v3.patch
Type: text/x-patch
Size: 4249 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101021/ccdf9771/attachment.bin>


More information about the TYPO3-team-core mailing list