Back to all skills
Progress42 of 45
ServerHigh

Cross-Request LRU Caching

`React.cache()` only works within one request. For data shared across sequential requests (user clicks button A then button B), use an LRU cache.

servercachelrucross-request

Code Comparison

Implementation:typescript

Why This Matters

Impact: caches across requests. This optimization is classified as HIGH priority for production applications.