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.
Updated by Alexander Opitz about 11 years ago
Hi Markus,
as this doesn't happen on fully cached frontend requests, can you write down what types of requests this happen?
Updated by Markus Klein about 11 years ago
Yes looks like this only happens in the BE.
Updated by Markus Klein about 11 years ago
- Subject changed from FAL fetches storages twice on every request to FAL fetches storages twice on every BE request
Updated by Philipp Gampe about 11 years ago
IMHO this magic create storage stuff should be moved to the install tool as an upgrade wizard.
Updated by Ingo Schmitt almost 11 years ago
- Status changed from New to Resolved
Was fixed by issue #55186
Actions