waaseyaa / cache
Cache bins with cache tag invalidation for Waaseyaa
v0.1.0-alpha.218
2026-06-16 01:58 UTC
Requires
- php: >=8.5
- psr/cache: ^3.0
- psr/simple-cache: ^3.0
- waaseyaa/foundation: ^0.1.0-alpha.218
Requires (Dev)
- phpunit/phpunit: ^10.5
Suggests
- waaseyaa/config: ^0.1.0-alpha.218
- waaseyaa/entity: ^0.1.0-alpha.218
This package is auto-updated.
Last update: 2026-06-16 02:02:23 UTC
README
Layer 0 — Foundation
Cache abstraction for Waaseyaa applications.
Provides a backend-agnostic CacheInterface with a MemoryBackend for tests and a filesystem backend for production. Supports atomic file writes (write-to-temp-then-rename) to prevent partial reads. Also includes CacheConfigResolver for cache-control header computation.
Key classes: CacheInterface, MemoryBackend, FilesystemBackend, CacheConfigResolver.