You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Cache the loaded packages / available package names #633
Along the same lines of #632, the PackageManager should hold a cache of the installed packages so bits of the settings view dont need to call loadInstalled, and shell out to apm. Like loadOutdated, loadInstalled could do the apm bit, load the cache, and emit events, to which other parts of the settings view listen to.
bits of this are already in there, but they arent ideal as I added them as a stopgap.
Coming up with a better system would be nice, and make several parts of the code nicer + faster (e.g., we could load the data when the settings view is activated, then show the packages without delay when people click the Packages tab).
It would also be nice if during the initial query the previously retrieved packages were shown even if the list is out of date. Caching across application launches.
Activity
ProLoser commentedon Sep 25, 2015
It would also be nice if during the initial query the previously retrieved packages were shown even if the list is out of date. Caching across application launches.