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($decorated, `<a href="/docs/main/references/Api/IriConverterInterface">ApiPlatform\Metadata\IriConverterInterface</a>` $iriConverter, null|`<a href="/docs/main/references/HttpCache/PurgerInterface">ApiPlatform\HttpCache\PurgerInterface $purger)
decorated | `ApiPlatform\State\ProcessorInterface` | |
iriConverter | `ApiPlatform\Metadata\IriConverterInterface` | |
purger | `ApiPlatform\HttpCache\PurgerInterface` |
Adds the configured HTTP cache tag and “xkey” headers.
public process($data, ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context)
data | ||
operation | `ApiPlatform\Metadata\Operation` | |
uriVariables | array | |
context | array |
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