fhircore
fhircore copied to clipboard
Optimize accessing repository data through caching
Describe the feature request. Use a caching strategy to improve faster access to data used on registers and profiles. Especially on registers.
Additional context The register reads and computes data from the SQLite database each time the user opens the screen. This enhancement will reduce the number of reads from the database, especially on content that changes less frequently.
Acceptance criteria
- Store and read register data from a cache
Implementation plan (For Engineers)
- Implement and use relevant caching strategy for registers. Utilize libraries like Kache
Areas of concern
- How to rehydrate the cache?
- How to handle updates