Feature #56557
closedImplement hashed temp folder structure for resized images and thumbnails
100%
Description
Some filesystems get slow when placing hundreds or even thousands of files in a single directory.
\TYPO3\CMS\Core\Imaging\GraphicalFunctions::imageMagickConvert() and \TYPO3\CMS\Backend\View\ThumbnailView::main() are two locations that could implement a hashed folder structure for storing generated images. This could work just like the mediawiki $wgHashedUploadDirectory configuration option.
Updated by Michiel Roos over 10 years ago
Here is a snippet from the MediaWiki source:
/** * @param $name * @param $levels * @return string */ static function getHashPathForLevel( $name, $levels ) { if ( $levels == 0 ) { return ''; } else { $hash = md5( $name ); $path = ''; for ( $i = 1; $i <= $levels; $i++ ) { $path .= substr( $hash, 0, $i ) . '/'; } return $path; } }
Updated by Mathias Schreiber almost 10 years ago
- Category set to File Abstraction Layer (FAL)
- Sprint Focus set to On Location Sprint
Updated by Ingo Schmitt almost 10 years ago
- Status changed from New to In Progress
Updated by Gerrit Code Review almost 10 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36523
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36523
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36523
Updated by Anja Leichsenring over 9 years ago
- Sprint Focus changed from On Location Sprint to Remote Sprint
Updated by Gerrit Code Review about 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36523
Updated by Gerrit Code Review over 8 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/36523
Updated by Gerrit Code Review over 8 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/36523
Updated by Gerrit Code Review over 8 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/36523
Updated by Gerrit Code Review over 8 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/36523
Updated by Gerrit Code Review over 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47854
Updated by Alina Fleser over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1450b10f6e4a96b5fb76158387de8f7178a9e163.