Optimize SDK performance for production applications
const cache = new Map(); async function getCachedScore(identity) { if (cache.has(identity)) { return cache.get(identity); } const score = await client.getScore(identity); cache.set(identity, score); return score; }