Skip to content

Consider a better method to invalidate remote config URL cache #774

Closed

Description

@g-plane

When extending a remote config with a URL, current implementation is hashing the URL string and using hash as cache key. This can be a trouble because when remote config updated, there's no good way to invalidate the cache. Putting version in URL isn't convenient because someone must remember or check the latest URL.

Current implementation:

async fn resolve_url<TEnvironment: Environment>(url: &Url, environment: &TEnvironment) -> Result<ResolvedPath> {

Is there a better way to invalidate the cache without updating the URL manually?

Activity

  1. added a commit that references this issue on Oct 10, 2026
    614f09f
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