# caching-strategies > Identify expensive, pure computations that are called with the same inputs Use when optimizing code performance. Performance category skill. - Author: OmniaffixDave - Repository: OmniaffixDave/SessionGuardian - Version: 20260205125233 - Stars: 0 - Forks: 1 - Last Updated: 2026-02-08 - Source: https://github.com/OmniaffixDave/SessionGuardian - Web: https://mule.run/skillshub/@@OmniaffixDave/SessionGuardian~caching-strategies:20260205125233 --- --- name: caching-strategies description: Identify expensive, pure computations that are called with the same inputs Use when optimizing code performance. Performance category skill. metadata: category: Performance priority: medium is-built-in: true session-guardian-id: builtin_caching_strategies --- # Caching Strategies Identify expensive, pure computations that are called with the same inputs. Use memoization for function results. Consider cache invalidation carefully—stale data can cause subtle bugs. Implement appropriate cache eviction (LRU, TTL). For distributed systems, consider cache consistency. Always measure cache hit rates to verify caching is beneficial.