Skip to content

Conversation

@dbu
Copy link
Contributor

@dbu dbu commented Feb 17, 2016

fix #41

Cache Control Handling
----------------------

This plugin does not cache responses with ``no-store`` or ``private`` instructions.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel like we should also respect no-cache. php-http/plugins#58

@dbu dbu force-pushed the cache-plugin branch 2 times, most recently from 382c71e to 27e8d39 Compare February 18, 2016 16:43
The ``CachePlugin`` allows you to cache responses from the server. It can use
any PSR-6 compatible caching engine. By default, the plugin respects the cache
control headers from the server as specified in :rfc:`7234`. It needs a
:ref:`stream <message-factory>` and a `PSR-6`_ implementation::
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be adjusted once #87 is merged, or the other way round.

@dbu
Copy link
Contributor Author

dbu commented Feb 19, 2016

this is imho ready to merge.

sagikazarmark added a commit that referenced this pull request Feb 19, 2016
@sagikazarmark sagikazarmark merged commit 6363a97 into master Feb 19, 2016
@sagikazarmark sagikazarmark deleted the cache-plugin branch February 19, 2016 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document Cache Plugin

3 participants