[TYPO3-core] RFC: Make image hash names longer to avoid collisions
Dmitry Dulepov
9f4eetb02 at sneakemail.com
Tue May 22 12:46:13 CEST 2007
Hi!
Martin Kutschker wrote:
> I wouldn't mess the with the current implementation of
> t3lib_div::shortMD5().
>
> I'd change any occurences of this function in the Core where it's used
> to create filenames. Should be easy, but we need to advise our users to
> clear the typo3temp directory! *
>
> Then I'd see where these short MD5s are used in the DB. Of course we can
> change it there as well, but we have to make sure that clearing a
> temp/cache table is enough after a switch to real MD5 hashes.
>
> And of course we must deprecate the function :-)
+1 for this.
> * Maybe we can optimize the directory layout of typo3temp while doing
> that. Eg we know that BE thumbs and FE images clutter up the directory.
> We could (if we start the filenames with the hash) add subdir named 0-9
> and a-f to distributes the file a bit.
Harder to manage...
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-team-core
mailing list