// Current: Every request hits GitHub API // Better: Cache responses for repeated queries const cache = new Map(); async function getCachedFile(path) { if (cache.has(path)) return cache.get(path); const result = await fetchFromGitHub(path); cache.set(path, result); return result; }