Releases: bbc/programmes-caching-library
Releases · bbc/programmes-caching-library
fix getItem
fix $item value
Because PHP assigns objects by reference after storing the $item in redis we should set it back to its original value, this way further operations on $item will behalf as expected
Fix empty cached item and remove indefinite
Fix empty cache response (#6) * Fix empty cache response * Bye bye indefinite, we barely knew you
only log stale content if served
v1.1.3 move log inside condition
prefix update
add prefix (#5) The new library stores the key values differently so this prevent issues when using the same key in both libraries
improved logs
v1.1.1 test (#4)
v1.1.0 - CacheWithResilience
This version adds a new class CacheWithResilience which implement a stale-if-error mechanims for the server side cache. In other workd, if a critical API like iSite fail instead of returning a 500 page we can return stale content for a limited amount of time.
Bugfixes
This release includes:
- Fix a bug where not caching made everything blow up
- Re-adding deleteItem to interface
Code quality improvements
This release includes:
- Small code quality improvements
v1.0
Initial Release