waaseyaa / cache
Cache bins with cache tag invalidation for Waaseyaa
v0.1.0-alpha.7
2026-03-15 03:34 UTC
Requires
- php: >=8.3
- psr/cache: ^3.0
- psr/simple-cache: ^3.0
Requires (Dev)
- phpunit/phpunit: ^10.5
Suggests
- waaseyaa/config: Required for ConfigCacheInvalidator listener
- waaseyaa/entity: Required for EntityCacheInvalidator listener
This package is auto-updated.
Last update: 2026-03-15 16:00:32 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.