Registry / networking / getpop-cache-control

getpop-cache-control

JSON →
library18.0.0phppackagistunverified

Add HTTP caching to the response

composer require getpop/cache-control
INSTALL
IMPORT
SIG · GETPOP-CACHE-CONTR
G
getpop-cache-control
networkingphpv18.0.0
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.

CacheControlManager
use PoP\CacheControl\Managers\CacheControlManager;

Add HTTP cache-control headers to a response

use PoP\CacheControl\Managers\CacheControlManager; $manager = new CacheControlManager(); $manager->addCacheControlHeader($response);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
18.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
getpop-cache-control — pip install getpop-cache-control · libregistry