================================================================

=============================

#

Talk

#

April 4, 2025

/

15:00

~

15:20
Frappe Caching and Performance Improvements

================================================================

=============================

1. How Frappe uses cache

a. Architecture

b. How to know what is being cached already? - With Redis-CLI live example.

c. Global & User level cache - Pages, DocTypes, Document Meta, Settings, Permissions, and Roles etc.

d. Value based cache & Function based cache

2. Caching demo

a. Global & User level cache

b. Value based cache & Function based cache

c. Client side caching

3. bench clear-cache & bench clear-website-cache

4. Best practices for cache

a. Cache Strategically

b. Cache Invalidation

c. Appropriate Cache Expiry

d. Avoid Over-Caching

5. [If time permits] Debugging real-time performance issues

Niraj Gautam
Software Engineer
rtCamp
Devarshi Sathiya
Engineering Manager
rtCamp

================================================================

=============================

================================================================