semitexa/cache

Semitexa Cache - tenant-aware cache store with Redis backing, namespaces, and tag invalidation

Maintainers

Package info

github.com/semitexa/semitexa-cache

Type:semitexa-module

pkg:composer/semitexa/cache

Statistics

Installs: 56

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

2026.04.15.0921 2026-04-15 09:04 UTC

README

Tenant-aware cache store with Redis backing, namespace isolation, and tag-based invalidation.

Purpose

Provides a cache abstraction with pluggable backends. The default Redis store supports key namespacing for tenant isolation, tag groups for batch invalidation, and TTL-based expiration.

Role in Semitexa

Depends on semitexa/core. Uses Predis as the default backend. Becomes tenant-aware when paired with the Tenancy package via CacheNamespaceResolverInterface.

Key Features

  • RedisCacheStore with Predis backend
  • ArrayCacheStore for testing and development
  • Tenant-aware key namespacing via CacheNamespaceResolverInterface
  • Tag-based invalidation with TagSet
  • CacheStoreInterface contract for custom backends