msd Backup hinzugefügt

This commit is contained in:
aschwarz
2023-07-25 19:16:12 +02:00
parent 50297c1d25
commit 1d3ed789b5
680 changed files with 103120 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Memcached
Store cache to [Memcached](https://memcached.org/). Memcached is a high
performance distributed caching system.
``` php
use Desarrolla2\Cache\Memcached as MemcachedCache;
use Memcached;
$server = new Memcached();
// configure it here
$cache = new MemcachedCache($server);
```
This implementation uses the [memcached](https://php.net/memcached) php
extension. The (alternative) memcache extension is not supported.
### Options
| name | type | default | |
| --------- | ---- | ------- | ------------------------------------- |
| ttl | int | null | Maximum time to live in seconds |
| prefix | string | "" | Key prefix |
### Packer
By default the [`NopPacker`](../packers/nop.md) is used.