# MemoryCache

Memory Cache Driver (cache in memory for current request only)

****

- Full class name: `Kirby\Cache\MemoryCache`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Cache/MemoryCache.php#L14>

****

### MemoryCache

- [new MemoryCache()](https://getkirby.com/docs/reference/objects/cache/memory-cache/__construct.md)
- [$memoryCache->created()](https://getkirby.com/docs/reference/objects/cache/memory-cache/created.md)
- [$memoryCache->enabled()](https://getkirby.com/docs/reference/objects/cache/memory-cache/enabled.md)
- [$memoryCache->exists()](https://getkirby.com/docs/reference/objects/cache/memory-cache/exists.md)
- [$memoryCache->expired()](https://getkirby.com/docs/reference/objects/cache/memory-cache/expired.md)
- [$memoryCache->expires()](https://getkirby.com/docs/reference/objects/cache/memory-cache/expires.md)
- [$memoryCache->flush()](https://getkirby.com/docs/reference/objects/cache/memory-cache/flush.md)
- [$memoryCache->get()](https://getkirby.com/docs/reference/objects/cache/memory-cache/get.md)
- [$memoryCache->getOrSet()](https://getkirby.com/docs/reference/objects/cache/memory-cache/get-or-set.md)
- [$memoryCache->modified()](https://getkirby.com/docs/reference/objects/cache/memory-cache/modified.md)
- [$memoryCache->options()](https://getkirby.com/docs/reference/objects/cache/memory-cache/options.md)
- [$memoryCache->remove()](https://getkirby.com/docs/reference/objects/cache/memory-cache/remove.md)
- [$memoryCache->retrieve()](https://getkirby.com/docs/reference/objects/cache/memory-cache/retrieve.md)
- [$memoryCache->set()](https://getkirby.com/docs/reference/objects/cache/memory-cache/set.md)