Rename the helper to buildKey and update the callers.
Make this edit?src/cache.ts+3 −3
16const entries = new Map<string, Entry>()
17
18−export function getKey(url: string) {
19− return url
20−}
18+export function buildKey(url: string, locale: string) {
19+ return `${locale}:${url}`
20+}
21
⌘↵ allow · esc deny
shopAGENTS.md
Found two callers. I'll rename it in
cache.tsfirst.