LP#1727557 Offline data stored in separate DB user/berick/lp1727557-offline-block-list-load-speed
authorBill Erickson <berickxx@gmail.com>
Mon, 4 Jun 2018 18:45:11 +0000 (14:45 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 4 Jun 2018 18:45:13 +0000 (14:45 -0400)
commit83e8774c7263b7e4bbd175a58b8d7ea47dc9c030
tree174a5d1154bc20bd5564c8194920b498be0c99fd
parent4ec26f05c29ed3160529c77c2728ab7a1146c224
LP#1727557 Offline data stored in separate DB

Store the offline block list and transaction data in a separate
database.  IndexDB database initialization results in reading the tables
on every page, so limiting this data set to just the offline UI means
those (sometimes quite large) data sets don't have to be read by the
browser on every page.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/offline.js
Open-ILS/web/js/ui/default/staff/services/lovefield.js