Open neon-mmd opened 1 month ago
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/neon-mmd/websurfx/blob/rolling/CONTRIBUTING.md
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
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