LP1848550 Cache org settings in IndexedDB (Angular)
authorBill Erickson <berickxx@gmail.com>
Mon, 2 Dec 2019 17:26:22 +0000 (12:26 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 7 Apr 2020 17:23:19 +0000 (13:23 -0400)
commit6157c3bd61f120c3141b69f098883c408ba08f27
tree5fbd87a4c03437ea72f3c6493f3c6b9e23a78183
parentbf8b2637b032859da95a7c671080f4478b9decdd
LP1848550 Cache org settings in IndexedDB (Angular)

Teach the org settings lookup code to store cacheable settings (those
for "here") in IndexedDB to reduce the number of repetitive network
calls for org unit settings.

Settings cached in IndexedDB are cleared upon successful login to avoid
stale values.

Signed-off-by: Bill Erickson <berickxx@gmail.com>