Skip to content

GUACAMOLE-2212: Bust translation JSON URLs and clear language cache on login.#1205

Draft
eugen-keeper wants to merge 1 commit intoapache:staging/1.6.1from
eugen-keeper:guacamole-2212-cache-busting
Draft

GUACAMOLE-2212: Bust translation JSON URLs and clear language cache on login.#1205
eugen-keeper wants to merge 1 commit intoapache:staging/1.6.1from
eugen-keeper:guacamole-2212-cache-busting

Conversation

@eugen-keeper
Copy link
Copy Markdown
Contributor

  • Append ?b=<build> to translations/<lang>.json when <meta name="build"> is present so browsers and intermediaries do not reuse an old JSON object for the same path after a release.
  • On successful login, clear cacheService.languages before $translate.refresh() so Angular’s in-memory language cache cannot keep an outdated translation table across sessions in the same tab.

@eugen-keeper eugen-keeper marked this pull request as draft April 28, 2026 20:32
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

Successfully merging this pull request may close these issues.

1 participant