Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add caching mechanism for API responses #17

Merged
merged 5 commits into from
Nov 18, 2024
Merged

feat: add caching mechanism for API responses #17

merged 5 commits into from
Nov 18, 2024

Conversation

ivansaul
Copy link
Owner

Introduces a Cache class to store and retrieve API responses using persistent storage. This improves performance by avoiding redundant API calls and enables offline access to previously fetched data. The cache uses JSON files for storage.

Add MyPy and integrates it into the CI workflow.
Add a `slug` field to the `Unit` model and populates it using the slugified title.
Introduces a `Cache` class to store and retrieve API responses using persistent storage. This improves performance by avoiding redundant API calls and enables offline access to previously fetched data.  The cache uses JSON files for storage.
@ivansaul ivansaul merged commit ec810cd into master Nov 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant