cdxgen icon indicating copy to clipboard operation
cdxgen copied to clipboard

[cache] Layer caching during SBOM generation

Open prabhu opened this issue 7 months ago • 1 comments

What if cdxgen creates a cache directory to cache the output from the external commands and APIs and reuse it upon subsequent invocation (with the --enable-cache argument or default in CI environments)?

  • [ ] Unique key generation could be based on the hashes of the input files used (which are available as a property)
  • [ ] Some caching can be performed as a postgen step
  • [ ] In CI environments, users could load the cache in advance by utilizing the in-built caching step
  • [ ] We can offer commands to clear the cache

prabhu avatar Jan 13 '24 19:01 prabhu