Tarsier LabsTarsier Labs
🐵
Home
Categories
Tags
Bookmarks
About
Back to tags

Caching

0 articles

ApiCacheManager: Dual Storage + SWR Caching Strategy

ApiCacheManager: Dual Storage + SWR Caching Strategy

Analyze how ApiCacheManager's dual storage cache (RAM + Disk) utilizes the SWR (Stale-While-Revalidate) strategy to handle unreliable mobile networks and prevent UI blank states.

00
Multi-platform
Avatar Service, Payment Integration, and Public Cache Interceptor

Avatar Service, Payment Integration, and Public Cache Interceptor

JoyMini API's automatic avatar generation service (Sharp compositing + BullMQ queue), Xendit payment integration (with distributed lock reconciliation), and a Redis-based public cache interceptor implementation.

00
Interface Management
Cache Contract Pattern: 15 Unified React Query Cache Modules

Cache Contract Pattern: 15 Unified React Query Cache Modules

The lib/cache/ directory contains 15 cache modules, each following the same contract pattern that connects URL search parameters with API query parameters and React Query cache keys, solving the common pain point of synchronizing pagination, filters, and cache invalidation in admin panels.

00
Management Backend