mzero / elk-herd-project

The bug tracker and wiki for elk-herd, software for Elektron instruments
63 stars 0 forks source link

Don't rescan samples every time page reloaded #14

Open JP01 opened 4 years ago

JP01 commented 4 years ago

name: Don't rescan every time page reloaded about: Various actions cause the page to rescan the entire digitakt for samples etc, this could be avoided by having the tables cached locally and only re-cached when you refresh with a button. title: '' labels: enhancement, incoming assignees: ''


Is your feature request related to a problem? Please describe. Various actions cause the page to rescan the entire digitakt for samples etc

Describe the solution you'd like Seems like this info could be cached locally and only scan once when you load and after that only when you click a "rescan" button.

mzero commented 3 years ago

I'm reluctant to do this: In order for most operations to work, elk-herd needs to have an accurate index of the samples - even for project management functions. Caching would speed up page reload... but there is no easy way to see if the cached value is accurate. If it is out of date (you've added/removed/moved samples on the +Drive) - then other features will break.