Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce KOCACHE #269

Merged
merged 4 commits into from
Dec 8, 2021
Merged

Introduce KOCACHE #269

merged 4 commits into from
Dec 8, 2021

Commits on Dec 7, 2021

  1. Introduce KOCACHE

    Cache binaries under $KOCACHE/<import path>/<platform>
    
    Cache metdata mapping buildid to diffid and diffid to descriptor.
    jonjohnsonjr committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    021fa01 View commit details
    Browse the repository at this point in the history
  2. Point TODO at issue

    jonjohnsonjr committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    75914d7 View commit details
    Browse the repository at this point in the history
  3. Split layerCache into separate file

    This makes things a little cleaner by having a single place that calls
    buildLayer and passing a thunk down into the cache logic to call that on
    a cache miss.
    
    Also, remove the debug logging to make the code easier to follow (if you
    need to recompile anyway, it's easy enough to add log lines).
    jonjohnsonjr committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    8098926 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9a9ece2 View commit details
    Browse the repository at this point in the history