]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1848550 Cache org settings in IndexedDB (Angular)
authorBill Erickson <berickxx@gmail.com>
Mon, 2 Dec 2019 17:26:22 +0000 (12:26 -0500)
committerBill Erickson <berickxx@gmail.com>
Tue, 28 Apr 2020 19:18:56 +0000 (15:18 -0400)
commit27d7149f63f10e7327bfa20b1f5777d3ab54b1ab
tree87a550c9b94d3ee225af016196ecb6775cf3c0bc
parentde722bbabe441e6abd1957897541994120c1d0ad
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>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/eg2/src/app/core/org.service.ts
Open-ILS/src/eg2/src/app/staff/login.component.ts