]> git.evergreen-ils.org Git - working/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:10:38 +0000 (15:10 -0400)
commit9e8d662f4187fb981027eaf945336bcaf71904e6
tree87a550c9b94d3ee225af016196ecb6775cf3c0bc
parent8c9187edec9671c5a251d79bef874e8b9fe80d83
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