Skip to content

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

Description

@timpatt

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions