Skip to content

Releases: bbc/programmes-caching-library

fix getItem

27 Nov 12:32
5a43dfb

Choose a tag to compare

v1.1.6

update interface a class with extra parameter (#9)

fix $item value

05 Nov 11:35
ff1497c

Choose a tag to compare

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

10 Oct 10:53
11afad2

Choose a tag to compare

Fix empty cache response (#6)

* Fix empty cache response
* Bye bye indefinite, we barely knew you

only log stale content if served

08 Oct 10:39

Choose a tag to compare

v1.1.3

move log inside condition

prefix update

13 Sep 15:29
95c1071

Choose a tag to compare

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

13 Sep 11:19
02212b6

Choose a tag to compare

v1.1.1

test (#4)

v1.1.0 - CacheWithResilience

10 Sep 12:04
8075181

Choose a tag to compare

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

18 Jan 12:24

Choose a tag to compare

This release includes:

  • Fix a bug where not caching made everything blow up
  • Re-adding deleteItem to interface

Code quality improvements

17 Jan 13:17

Choose a tag to compare

This release includes:

  • Small code quality improvements

v1.0

17 Jan 12:44

Choose a tag to compare

Initial Release