https://github.com/thecodingmachine/utils.cache.memcached-cache
This package contains a cache mechanism that relies on the Memcached database. For this cache to work, the memcached Pecl package must be enabled.
https://github.com/thecodingmachine/utils.cache.memcached-cache
Last synced: 12 months ago
JSON representation
This package contains a cache mechanism that relies on the Memcached database. For this cache to work, the memcached Pecl package must be enabled.
- Host: GitHub
- URL: https://github.com/thecodingmachine/utils.cache.memcached-cache
- Owner: thecodingmachine
- Created: 2012-09-10T17:15:30.000Z (almost 14 years ago)
- Default Branch: 2.0
- Last Pushed: 2015-01-08T13:32:15.000Z (over 11 years ago)
- Last Synced: 2025-02-16T12:30:30.628Z (over 1 year ago)
- Language: PHP
- Size: 152 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Mouf Memcached cache service
============================
This package contains an implementation of Mouf's CacheInterface for Memcache, using the **memcached** pecl package.
To learn more about the cache interface, please see the [cache system documentation](http://mouf-php.com/packages/mouf/utils.cache.cache-interface).
This package comes with a default installer that will create a "memcacheCacheService" instance that points
to a Memcache server on 127.0.0.1 listening on port 11211.
To use it:
```php
Mouf::getMemcacheCacheService()->set('mykey', 'myvalue');
$mykey = Mouf::getMemcacheCacheService()->get('mykey');
```