cache-plugin
cache-plugin copied to clipboard
PSR-6 Cache plugin for HTTPlug
| Q | A | --------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets...
| Q | A | ------------ | --- | Bug? | no | New Feature? | yes | Version | all The cache PRS's all write a string to the...
| Q | A | ------------ | --- | Bug? | yes | New Feature? | no | Version | all #### Actual Behavior When you are initialising the `CachePlugin`...
| Q | A | | --- | --- | | Bug? | yes | | New Feature? | no | | Version | | #### Actual Behavior The cache...
once #30 is done, we should implement different cache key strategies for the client and server mode of the plugin. as client, the key should take into account authorization headers...
since #26, the no-cache directive is correctly handled. the response is not cached. but no-cache is meant to force re-validation - the response might still be stored but needs to...
Stale
| Q | A | | --- | --- | | Bug? | no | | New Feature? | yes | See php-http/plugins#56
Vary
| Q | A | | --- | --- | | Bug? | no | | New Feature? | yes | See php-http/plugins#59
We have the following code in CachePlugin.php: ```php public static function clientCache(CacheItemPoolInterface $pool, StreamFactoryInterface $streamFactory, array $config = []) { // Allow caching of private requests if (\array_key_exists('respect_response_cache_directives', $config)) {...