[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 Sep 30 17:13:27 CEST 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references: http://bugs.typo3.org/view.php?id=12232

Branches: "TYPO3_4-4 & trunk"

Problem:
With every new page creation a md5_file() check is done to see if the
file has been changed. This is a large large performance issue.

Solution:
Check filemtime instead.

Notes:
There is an option to switch the behavior because of potential issues
in special cases (ftp upload,...).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_12232.patch
Type: text/x-patch
Size: 6346 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100930/415596cd/attachment.bin>


More information about the TYPO3-team-core mailing list