♻️ Redesign the cache
internal api to a more composable design structure using enums
#623
Labels
Milestone
cache
internal api to a more composable design structure using enums
#623
What would you like to share?
Work Expected From The Issue
Redesign the
cache
internal api to move it away from using an OOP based design to a more composable enum based.The issue expects the following files to be changed/modified:
src/cache/cacher.rs
Note
All the files that are expected to be changed are located under the codebase (
websurfx
directory).Reason Behind These Changes
The reason behind having these changes is to make the internal API design more flexible and adaptable so that future changes like providing a new caching server as a feature can introduced easily. Additionally, it adopts the rusty-style of code which encourages composability over traditional OOP design.
Sample Design API
The sample API design has been provided below to give a better idea of the work to be done:
Do you want to work on this issue?
None
Additional information
No response
The text was updated successfully, but these errors were encountered: