Skip to content

Caching using hash to prevent duplicate calls to API #3

@katagaki

Description

@katagaki
  • Hash images and store API responses as JSON into Documents directory (non-user accessible)
  • Before calling API, check if cache exists
    • If cache exists, use cache
    • If not, call API

Cache should expire after one week (either cleanup files on startup or recreate when calling API)
Should provide a way to clear the cache manually

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions