Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

[BUGFIX] Fix incorrect cache handling #12

Merged
merged 2 commits into from
Mar 2, 2017
Merged

Conversation

romm
Copy link
Owner

@romm romm commented Mar 2, 2017

This commit refactors a major part of how "dynamic" caches were handled by Configuration Object API. In the provided cache service that can be attached to a configuration object, it is possible to declare the options for this cache; it means the cache is registered long after TYPO3 initialization, resulting in issues like caches entries not being deleted on caches flush.

A new internal cache service has been introduced, which will handle these "dynamic" caches: when one of these caches is used, its configuration is saved in the internal cache: in further request, the cache will be properly registered during TYPO3 initialization.

romm added 2 commits March 2, 2017 23:20
This commit refactors a major part of how "dynamic" caches were handled
by Configuration Object API. In the provided cache service that can
be attached to a configuration object, it is possible to declare the
options for this cache; it means the cache is registered long after
TYPO3 initialization, resulting in issues like caches entries not being
deleted on caches flush.

A new internal cache service has been introduced, which will handle
these "dynamic" caches: when one of these caches is used, its
configuration is saved in the internal cache: in further request, the
cache will be properly registered during TYPO3 initialization.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 95.828% when pulling d1043c4 on bugfix-cache-handling into f809006 on development.

@romm romm merged commit 02a907c into development Mar 2, 2017
@romm romm deleted the bugfix-cache-handling branch March 3, 2017 08:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants