question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change cache location on Mac/Windows

See original GitHub issue

Currently, the base image cache is located at:

  • Mac: $HOME/Library/Application Support/google-cloud-tools-java/jib/
  • Win: %LOCALAPPDATA/google-cloud-tools-java/jib/

It may be a good idea to change these to:

  • Mac: $HOME/Library/Caches/Google/Jib/
  • Win: %LOCALAPPDATA/Google/Jib/Cache/

We may need to come up with a migration strategy so we don’t break users who rely heavily on the cache (e.g. offline users).

Checklist:

  • Code (#2218)
  • Docs (#2231)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
chanseokohcommented, Jan 7, 2020

We may need to come up with a migration strategy so we don’t break users who rely heavily on the cache (e.g. offline users).

I’m leaning toward documentation rather than adding code to do automatic migration for a number of reasons.

1reaction
briandealwiscommented, Jan 7, 2020

The Win cache should be in %LOCALAPPDATA%/Google/Jib/Cache just to be clear that it can be removed without affecting other possible configuration files.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change content caching Storage options on Mac
Location of the content cache. This option is available only if you have multiple volumes on your Mac. To change the location of...
Read more >
How to change NPM cache location (Windows & Mac)
This concise article shows you how to change the npm cache folder in Windows and macOS. Without any further ado, let's get started....
Read more >
Change cache location on MacOS? : r/chrome - Reddit
Frequently Switch between Mac and Windows Machine to Prep. Possible to change the Cache location in MacOS for Chrome?
Read more >
Disable or move the package cache - Visual Studio (Windows)
Learn how to disable, enable, or move the package cache for Visual Studio deployments. ... Visual Studio for Mac no Visual Studio Code....
Read more >
Office Document Cache settings - Microsoft Support
The Office Document Cache is used by the Microsoft Office Upload Center to give you a way to see the state of files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found