cyberrebell/soft-ttl-cache-php

handle soft-caching and updating values on top of psr/cache

1.0.2 2020-02-14 15:13 UTC

This package is auto-updated.

Last update: 2024-04-15 00:23:32 UTC


README

SoftCache

  • Psr cache wrapper that provides soft ttl
  • When soft ttl expired the value will be refreshed. If refresh failed it will return the old hard cached value.

MultiLevelSoftCache

  • Works just like SoftCache
  • The additional first level cache will update from master cache if outdated.