# Why does a package .ji file go stale?

**URL:** <https://discourse.julialang.org/t/why-does-a-package-ji-file-go-stale/29473>\
**Category:** General Usage\
**Created:** [October 4, 2019, 7:30am UTC](https://discourse.julialang.org/t/why-does-a-package-ji-file-go-stale/29473 "2019-10-04T07:30:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [October 4, 2019, 7:30am UTC](https://discourse.julialang.org/t/why-does-a-package-ji-file-go-stale/29473/1 "2019-10-04T07:30:10Z")

</div>

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

```julia
[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?

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [October 4, 2019, 8:49am UTC](https://discourse.julialang.org/t/why-does-a-package-ji-file-go-stale/29473/2 "2019-10-04T08:49:49Z")

</div>

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.
