Registry / web-framework / friendsofsymfony-http-cache-bundle

friendsofsymfony-http-cache-bundle

JSON →
library3.4.1phppackagistunverified

Set path based HTTP cache headers and send invalidation requests to your HTTP cache

composer require friendsofsymfony/http-cache-bundle
INSTALL
IMPORT
SIG · FRIENDSOFSYMFONY-H
F
friendsofsymfony-http-cache-bundle
web-frameworkphpv3.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FOSHttpCacheBundle
✓ use FOS\HttpCacheBundle\FOSHttpCacheBundle;

Register the bundle in a Symfony application

use FOS\HttpCacheBundle\FOSHttpCacheBundle; // In AppKernel.php or bundles.php return [ FOSHttpCacheBundle::class => ['all' => true], ];
Debug
Known issues
gotchaRequires a compatible HTTP cache (Varnish, Nginx, etc.) to be configured; otherwise invalidation will not work.
fix
Set up and configure your HTTP cache proxy before using the bundle.
affects: >=3.0.0
Upgrade
Version history
3.4.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
friendsofsymfony-http-cache-bundle — pip install friendsofsymfony-http-cache-bundle · libregistry