PHPackages                             webclient/cache-contract - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. webclient/cache-contract

ActiveLibrary[Caching](/categories/caching)

webclient/cache-contract
========================

Interface for caching

v1.0.0(3y ago)01.6k3MITPHPPHP ^7.4 || ^8.0

Since Jul 26Pushed 3y agoCompare

[ Source](https://github.com/phpwebclient/cache-contract)[ Packagist](https://packagist.org/packages/webclient/cache-contract)[ Fund](https://www.paypal.me/ddrv)[ Patreon](https://www.patreon.com/ddrv)[ RSS](/packages/webclient-cache-contract/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (3)

[![Latest Stable Version](https://camo.githubusercontent.com/853c1071501a79e91f6f5cf13b1cd80d29129b2cf2b7db206d50926c3852d813/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776562636c69656e742f63616368652d636f6e74726163742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webclient/cache-contract)[![Total Downloads](https://camo.githubusercontent.com/a089c9eaddb1950e5fc7924a8daecb2f389643de8466afbd2717fbdc172a7cac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776562636c69656e742f63616368652d636f6e74726163742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webclient/cache-contract/stats)[![License](https://camo.githubusercontent.com/de7119ad2455a31d9b1cc45046ed14ecc5e0b181c309873c155ed492d08e9543/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776562636c69656e742f63616368652d636f6e74726163742e7376673f7374796c653d666c61742d737175617265)](https://github.com/phpwebclient/cache-contract/blob/master/LICENSE)[![PHP](https://camo.githubusercontent.com/b23a7ba04ae7e937d4477747df6e9c9e1f33e62a2e8f98161166f09920c4b950/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f776562636c69656e742f63616368652d636f6e74726163742e7376673f7374796c653d666c61742d737175617265)](https://php.net)

webclient/cache-contract
========================

[](#webclientcache-contract)

Cache interface for [webclient/ext-cache](https://packagist.org/packages/webclient/ext-cache#v2.0.0)

Install
=======

[](#install)

```
composer require webclient/cache-contract:^1.0
```

Tips and tricks
===============

[](#tips-and-tricks)

Split cache storage for settings and responses
----------------------------------------------

[](#split-cache-storage-for-settings-and-responses)

You may split cache storage for settings and responses.

implements cache-contract, like it:

```
