Bug #66465
closedFileList makes 10 fileExists() calls for each file
0%
Description
When opening the file list in the backend, each file displayed by the FileList
leads to 10 fileExists()
calls in the FAL driver.
This is ok for the local driver, but not for remote storages.
Somehow those data should be cached.
Updated by Christian Weiske over 9 years ago
I was able to reduce the file list loading time with a remote FAL adapter from 1.6s to 0.6s by caching fileExists()
, folderExists()
and getPermissions()
.
Updated by Christian Weiske over 9 years ago
The 10 fileExists()
calls were in TYPO3 6.2.
In git master (the soon-to-be 7.2), they are gone.
What stays are the getPermissions()
calls; 7 per file/folder.
Updated by Gerrit Code Review over 9 years ago
- Status changed from New 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/38762
Updated by Gerrit Code Review over 9 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/38762
Updated by Christian Kuhn over 9 years ago
- Status changed from Under Review to Rejected
Having a general caching wrapper around the drivers is not a solid approach. The patch was abandoned and this issue will be closed as rejected for now.