Actions
Bug #53702
closedEpic #55070: Workpackages
Epic #55065: WP: Overall System Performance (Backend and Frontend)
Bug #52949: Speed decrease since 4.5
FAL fetches storages twice on every BE request
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-11-16
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
FAL fetches the storages twice on every request.
SELECT COUNT(uid) FROM sys_file_storage WHERE 1=1;
SELECT * FROM sys_file_storage WHERE 1=1 AND sys_file_storage.hidden=0 AND sys_file_storage.deleted=0;
StorageRepository->findAll() tries to detect if there's ever been a storage, and if not so it creates one for /fileadmin.
Maybe this can be optimized somehow to have only one DB access.
Actions