tr
TryGhost
GitHub
Ghost
Workspace
GitHub
CI Pipeline Executions
Current execution
Succeeded
codex/frontend-perf-01-i18n-cache
Runs and Agents
Timeline
Beta
Configuration
Self-Healing CI
Project Graph
Circular Dependencies
Enterprise
Resource Usage
Analysis
Conformance
Enterprise
Runs
Current run
Succeeded
Tasks
Resource Usage
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Improved theme translation performance by caching compiled messages no ref Repeated frontend translations were reparsing identical ICU messages. Compiled formatters are now memoized by locale and resolved translation content, cleared on theme initialization, and bounded to 5,000 entries in LRU order, because fulltext keys can contain arbitrary content. The memo goes through a new core/shared/memoize helper rather than a hand-rolled Map: a keyed memo backed by lru-cache with a required bound, for pure derivations of immutable inputs. It is not a cache: there is no TTL and no invalidation beyond reset(), so nothing derived from mutable state belongs in it. It lives in core/shared because frontend and shared code both need it, and it replaces the @tryghost/memoize package proposed separately, which had no consumer outside core. A malformed message is never memoized, because compiling it throws. A valid message stays memoized when formatting fails for missing bindings, since the compiled formatter itself is still correct for the next call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nx run @tryghost/comments-ui:test:acceptance --shard=1/1
⌘K
Succeeded
nx run @tryghost/comments-ui:test:acceptance --shard=1/1
Click to copy
Linux
4 CPU cores
read-write
access token used
ac71d543
30704
GitHub
Ghost
Workspace