ceylon/ceylon-module-resolver — Issue #12: Add cache
Author: FroMage
Created: 2012-02-20 16:01:12+00:00
State: open

We need to add a cache for remote repos in `~/.ceylon/cache` that will cache remote modules by:

- repo url
- module name
- module version

We also need:

- a `-disable-cache` flag on the commands to turn that off

Open questions:

- Do we also cache the absence of modules? That would make it faster.
-- I'd say yes
- When/how do we clear the cache?
-- I'd say we can remove all but the most recent version of a module that haven't been used in the last X months, as well as duplicates (same module/version in different repo)

Note:

- We don't cache maven artifacts since they are cached by aether (are they really?)
- Local repos are never cached