Brown-University-Library / disa_dj_project

MIT License
2 stars 3 forks source link

Cache Source form data for better responsiveness #173

Closed prashleigh closed 9 months ago

prashleigh commented 11 months ago

Users have to wait a long time for the Source form to be populated; this change seeks to make the page available much faster.

The new code stores the data in a cache in localStorage so that when a user arrives at the page, the cached data can be rendered immediately to the table, and made available while the latest data is being fetched. The table is refreshed when the new data arrives.

elizabethyalkut commented 11 months ago

Noticeably faster on my local; please deploy to dev for Annette to test when #177 is good to go.

elizabethyalkut commented 9 months ago

Closes #167