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

Capsule cache should support multiple versions of an application/CAPSULE_ID #124

Open
timpatt opened this issue Jul 5, 2018 · 0 comments

Comments

@timpatt
Copy link

timpatt commented Jul 5, 2018

Currently the capsule cache uses the CAPSULE_ID (usually the application name) as a key to the cache. This causes issues if there are multiple versions of the capsule in existence with the same CAPSULE_ID.

We've often had issues where after upgrading our application capsule, the cache - which contains an older version of the same application - is still used.

A simple (?) solution to this may be to add a hash of the capsule's contents to the capsule during creation and append this to (or use in place of) the CAPSULE_ID in the cache. Versioning then no longer becomes an issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant