Why does a package .ji file go stale?

Every time I start Julia, Gadfly wants to recompile again:

[ Info: Recompiling stale cache file C:\Users\PetrKrysl\.julia\compiled\v1.3\Gadfly\DvECm.ji for Gadfly [c91e804a-d5a3-530f-b6f0-dfbca275c004]

Why does the cache file go stale?

Literally every time?

In 1.2 the following would invalidate it:

  • Updating the package in your current environment
  • Loading the package in any environment with not all its dependencies at exactly the same version as they were when the current precompilation file was created.

1.3 should pretty much get rid of the second invalidation reason.

4 Likes