Closed qdequippe closed 6 months ago
Hello @qdequippe,
That's interesting. Thank you. I thought the Http Cache would be sufficient.
Closing as done. Many thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
Sometimes HTTP Cache is not available on provider side so some "hack" is needed to fake Cache headers (for example https://jolicode.com/blog/aggressive-caching-with-symfony-http-client).
If HTTP Cache is not available an option could be to use other cache system instead. This proposition adds an option to inject cache item pool (PSR-6 compatible cache item pool).
Example