job-board
job-board copied to clipboard
[FEATURE] introduce repository cache
right now the caching is done on the handlers/server layer. As a better testable and cleaner approach there should be a cached repository that sits in front of the database repository. This once the #12 is complete.
So there would be
before
handler (cache retrieved from memory) -> database repository
after
handler -> cached repository (retrieve from in memory cache) -> database repository