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: 31

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

2026.04.05.0855 2026-04-04 11:37 UTC

This package is auto-updated.

Last update: 2026-04-05 09:00:31 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