https://developers.cloudflare.com/cache/how-to/purge-cache#add-cache-tag-http-response-headers
https://docs.varnish-software.com/varnish-cache-plus/vmods/ykey/
public __construct($iriConverter, null|`<a href="/docs/main/references/Metadata/Resource/Factory/ResourceMetadataCollectionFactoryInterface">ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface</a>` $resourceMetadataCollectionFactory, null|`<a href="/docs/main/references/HttpCache/PurgerInterface">ApiPlatform\HttpCache\PurgerInterface $purger)
iriConverter | `ApiPlatform\Metadata\IriConverterInterface` | |
resourceMetadataCollectionFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface` | |
purger | `ApiPlatform\HttpCache\PurgerInterface` |
Adds the configured HTTP cache tag and “xkey” headers.
public onKernelResponse(Symfony\Component\HttpKernel\Event\ResponseEvent $event): null
event | Symfony\Component\HttpKernel\Event\ResponseEvent |
null
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more