Socket
Socket
Sign inDemoInstall

cache-transporter

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cache-transporter

:construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction:


Version published
Weekly downloads
1
Maintainers
1
Install size
1.70 MB
Created
Weekly downloads
 

Readme

Source

cache-transporter

:construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction:

[WIP] Transports CI cache to/from a docker build process.

:construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction:

This little hackery should let you achieve granular caching when building Docker image… While Docker’s built-in caching mechanism operates at a layer level (“layer caching”), many build tools can perform “granular caching” at a file-level. For example, in a big project, each source file may be compiled into intermediate files (e.g. object files) before being linked/bundled into a final build product. It is often the case that the compilation phase, rather than the bundling phase, takes the most time.

  • Without granular caching, if you change a single file, you have to recompile everything.
  • With granular caching, if you change a single file, you only have to recompile that file.

FAQs

Last updated on 02 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc