Skip to content

how to merge/reuse cached images from different versions/deployments? #508

Answered by adolski
hrvoj3e asked this question in Q&A
Discussion options

You must be logged in to vote

Is it possible to merge caches (derivate, source, info) from multiple cantaloupe deployments?

Yes, as long as the identifiers don't clash between the two deployments. For example, if deployment 1 knows of an image.jpg that is 500x500 pixels, and deployment 2 knows of a different image.jpg that is 750x750 pixels, that will be a problem.

Are caching hashes backward compatible? E.g. version 3.3.1 and 4.4.1?

The cache key format varies between the different cache implementations, but basically there are two formats:

  1. Identifier MD5 checksum used for infos. This is generally stable across versions.
  2. Identifier MD5 checksum + serialized operation list MD5 checksum used for derivative images.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hrvoj3e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #507 on June 22, 2021 19:13.