#Persistent cache

1 messages · Page 1 of 1 (latest)

ocean iron
#

Is the documentation page https://docs.dagger.io/1237/persistent-cache-with-dagger/ that talks about persistent cache still usable?
Im trying to create a system to persist the cache in a CI environment (which uses ephemeral runners).

If the dagger engine already uses the runner file system to store the cache, where does it do so? Are volumes from withMountedCache also saved?

{@include: ../../../partials/_caution-old-version.md}

quick cosmos
#

Hi @ocean iron , unfortunately that documentation is no longer accurate. The method it used (export to registry) had too many issues, so we no longer recommend it. Among other issues it did not persist cache volumes.

ocean iron
#

I guess that also doing an export at the end of the execution is not the best idea for a decent cache system

quick cosmos
#

We are developing a distributed cache service to solve the problem in a more scalable and reliable way. It’s in early access if you’re interested in trying it.

ocean iron
#

also, this may be out of topic, searching for dagger documentation has been a little bit frustrating and, if I try to google it, I always (70% maybe?) end up in an old page as the one I sent

high gull
#

Hi @ocean iron, regarding searching the dagger docs from google - a few others had reported the same issue and we have tried to fix it by de-indexing and delinking the older docs. We also have an "old version" notice on each page of the older docs. It's better than it used to be but from your message it sounds like there are some keywords which still send you into the older docs, so I'll have another look at it to see how we can improve the experience. Thanks for letting us know!

fallow hemlock