alexweininger/recent-pdf

Load time

Closed this issue · 1 comments

Issue

As of now, Recent PDF searches for recent pdf files every single time the popup is opened. This has worked so far, but as we are extending the functionality of recent pdf we are running into loading time issues. If the number of pdfs is over 30 it can take some time for the files to show up in the popup.

tentative approach

I think we should start migrating to use chrome.storage api to store file data. We should also come up with a way to smartly scan for newly downloaded or accessed files. e.g. if we scanned at files at 5pm we only need to scan files that have been downloaded since then.

Let me know what you think about this issue and my proposed approach.

AW

fixed in v2