eoussama / anusic-api

Anime themes API.
https://anusic-api.herokuapp.com/api/v1/
MIT License
5 stars 0 forks source link

Introduce a caching workaround #1

Closed eoussama closed 3 years ago

eoussama commented 4 years ago

To avoid spamming the scrapping targets, there needs to exist a caching workaround that does not utilize any in-memory caching libraries. Dumping the data in a JSON file would do the trick.

The dump file should be updated frequently, based on a scheduler of a 1-day interval would be preferable.

eoussama commented 3 years ago

Continued in #3