📄️ Helper Functions for Caching Documentation
This code provides helper functions and structures to manage various caches in the application, aiming to optimize performance by reducing database reads.
📄️ Local Calendar Schedule Cache Documentation
This code implements a local in-memory cache for calendar schedules and their details, designed to optimize performance by minimizing database interactions.
📄️ Local Leaves Cache Documentation
This code implements a local in-memory cache for leave-related data (leaves, leave requests, and user leaves), aiming to improve performance by reducing database access.
📄️ Local Scan Request Cache Documentation
This code implements a local in-memory cache for attendance scan requests and their approvals, aiming to optimize performance by reducing database reads.
📄️ Local Scan Log Cache Documentation
This code implements a local in-memory cache for attendance scan logs, aiming to reduce database reads and improve performance.
📄️ Local Schedules Cache Documentation
This code implements a local in-memory cache for schedules and their details, aiming to improve performance by reducing database interactions.
📄️ Local Setting Cache Documentation
This code implements a local in-memory cache for rounding settings and company settings to improve performance by reducing database reads.
📄️ Local Shifts Cache Documentation
This code implements a local in-memory cache for shifts, rules, breaks, and their relationships, aiming to speed up processing by reducing database reads.
📄️ Local Users Cache Documentation
This code implements a local in-memory cache for user profiles and their schedules to improve performance by reducing database queries.