fhircore icon indicating copy to clipboard operation
fhircore copied to clipboard

Optimize accessing repository data through caching

Open ellykits opened this issue 1 year ago • 0 comments

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

ellykits avatar Feb 13 '24 14:02 ellykits