# Where does LanguageServer store its cache?

**URL:** <https://discourse.julialang.org/t/where-does-languageserver-store-its-cache/124547>\
**Category:** General Usage\
**Tags:** question, languageserver\
**Created:** [January 8, 2025, 5:12pm UTC](https://discourse.julialang.org/t/where-does-languageserver-store-its-cache/124547 "2025-01-08T17:12:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [January 8, 2025, 5:12pm UTC](https://discourse.julialang.org/t/where-does-languageserver-store-its-cache/124547/1 "2025-01-08T17:12:52Z")

</div>

When running `LanguageServer` (in Neovim), the LSP log shows messages like

```julia
Downloading cache files...
…
Package FFTW (7a1cc6ca-52ef-59f5-83cd-3a7055c09341) is cached.
…
Done loading FFTW from cache...

```

Where does LanguageServer store its cache? I’m getting an unexplained “Missing reference”, and I’d like to check if nuking the cache has any effect.

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [January 8, 2025, 6:34pm UTC](https://discourse.julialang.org/t/where-does-languageserver-store-its-cache/124547/2 "2025-01-08T18:34:36Z")

</div>

One can set a path in the `LanguageServerInstance` constructor (`symserver_store_path`). If that is not set, it will be stored in a folder called `store` in the `SymbolServer` package folder. Which is really bad, we should migrate that to scratch spaces.
