You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in #4975 (this comment), the service api_platform.metadata.property.identifier_metadata_factory (which is suggested to be removed in 3.0 by a TODO comment) has no cache associated with it.
This leads to cache warmup being longer as the service is call again and again.
After a bit of investigation, I'm wondering whether this wasn't the orginal purpose of api_platform.cache.identifiers_extractor which is sent as argument to api_platform.cache_warmer.cache_pool_clearer in events.xml but which seems to be actually inexistent.
How to reproduce
bin/console cache:warmup
Possible Solution
Configure a cache for api_platform.metadata.property.identifier_metadata_factory, possibly by restoring api_platform.cache.identifiers_extractor
The text was updated successfully, but these errors were encountered:
The series of metadata.property.identifier_metadata_factory is there to avoid a circular dependency injection within PropertyMetadataFactories. We could probably add a cache layer for them by duplicating this declaration:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
API Platform version(s) affected: 3.0.8
Description
As stated in #4975 (this comment), the service
api_platform.metadata.property.identifier_metadata_factory
(which is suggested to be removed in 3.0 by a TODO comment) has no cache associated with it.This leads to cache warmup being longer as the service is call again and again.
After a bit of investigation, I'm wondering whether this wasn't the orginal purpose of
api_platform.cache.identifiers_extractor
which is sent as argument toapi_platform.cache_warmer.cache_pool_clearer
in events.xml but which seems to be actually inexistent.How to reproduce
bin/console cache:warmup
Possible Solution
Configure a cache for
api_platform.metadata.property.identifier_metadata_factory
, possibly by restoringapi_platform.cache.identifiers_extractor
The text was updated successfully, but these errors were encountered: