Task #81437
closedStory #81432: Replace TYPO3 caching solution with PSR-6 / Doctrine capable alternative
Migrate core cache configurations to PSR delegate
0%
Description
As topic says, once sibling issues are taken care of, the necessary API to finally migrate core caches to PSR-6 implementations will be in place. The migration then consists of:
- Implementing a PSR-6 delegating cache backend using existing cache backend infrastructure
- Make CacheManager capable of constructing these new types of cache pools, using communicators where needed
- Reduce core cache configurations to minimum and for as much as possible, rely on the shared base cache configuration
- Implement a special "generated PHP code" PSR-6 cache pool allowing saving generated raw PHP code such as Fluid templates (and which is more efficient than normal file based storage; replicating PhpFrontend + *FileBackend performance)
Once migrated, the caching framework will consist exclusively of and everything else will be deprecated:
- VariableFrontend + PhpFrontend + FrontendInterface
- PSR delegating "backend" (for compatibility, this behaves the same as existing backends and is drop-in replaceable with any backend type)
- Custom implementation cache pool which saves raw PHP code and exported plain-value arrays
When deprecation expires and it is time for removal, the following refactoring can then be done:
- Get rid of the PSR-6 delegating backend and let frontends speak directly to the PSR-6 cache pools
- Remove all cache backend classes and entire namespace
- Remove all custom cache backend exceptions
Updated by Claus Due over 7 years ago
- Subject changed from Migrate core cache configurations to PSR delegate and use filesystem storage instead of DB to Migrate core cache configurations to PSR delegate
Note: cannot edit original text but please mentally do a strikethrough over this line in the list above:
Select a filesystem based cache storage for all default shipped caches
Which has been extracted to a separate issue: https://forge.typo3.org/issues/81500
Updated by Christian Kuhn almost 3 years ago
- Status changed from New to Rejected
Hey. It seems work in this area is completely stalled since 4 years. A couple of issues have been resolved, the cache API has been streamlined a bit.
I'm about to close the story and related issues for now: They are active action points, but stalled.
I guess if PSR-6 is picked up again, some solution would be different from what has been worked on 4 years ago. If single issues are still appropriate, they could be re-opened and re-attached to a new story again. Other than that, there seems to be little value in still keeping them open at the moment.
Updated by Christian Kuhn almost 3 years ago
- Status changed from Rejected to Closed