Project

General

Profile

Actions

Task #81006

closed

Significant performance improvement by switching Fluid cache backend to SimpleFileBackend

Added by Claus Due over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-04-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently, fluid_template cache uses the FileBackend which has a lot of added features that are not needed. Most damning aspect of the backend is that it will continually do multiple file_get_content() calls for every call to "requireOnce()" when the backend is not frozen - and freezing the backend prevents Fluid from operating.

Switching to SimpleFileBackend drastically reduces the number of calls to file_get_contents() because the "has()" method on that backend avoids this call and in general, uses the file_get_contents() method a lot less frequently.

We'll lose the option to freeze the Fluid backend unless manually configured to be frozen, but we gain a serious performance increase for every TYPO3 site out there.

Actions #1

Updated by Gerrit Code Review over 7 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 https://review.typo3.org/52597

Actions #2

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52597

Actions #3

Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52597

Actions #4

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52622

Actions #5

Updated by Anonymous over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF