Draft: Fix bug of loading associations from cached record
What does this MR do and why?
Previously index attributes were being stored in the cache. When there was a cache hit, those attributes were used to initialize an Index record.
Unfortunately, that leaves associations empty.
These changes put the index ID in the cache. Every request will perform a DB lookup on ID, which I believe will be very performant.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.