I am trying to accomplish following tasks with KnownFolders, i.e: VideoLibrary in my UWP app
Faster Load Time. ( I need to load thumbnails and file names from the KnownFolders, which might take little more time if the library has huge number of files. Is there a faster way to cache and store them , maybe in sqlite database, and on each next run just get them from DB, can that be faster?
Syncing with the system file changes ( if a new file is added or deleted within that specific library, while the app is running, how can the app be notified about that )
Basically I want the app to load the library data faster as it opens so what would be the recommended way to achieve that? Should I use a background task for the app? but keeping data in memory when app isnt running might not be a good solution or is it? or maybe I can start the process of extracting data within App.xaml.cs as soon as the app launches ( before navigating to library page ) would that make performance improvement?
Basically : I am looking for some suggestions and discussion here because there not might be a strict answer for my question here. Thanks in advance any suggestion will be appreciated. MY main 2 goals are to sync the library with delete and add files in the physical folder, and improve loading performance of library in the app. ( and yeah I am loading the library in a gridview with thumbnails as well.