evazion / translate-pixiv-tags

MIT License
35 stars 6 forks source link

Update cache mechanism from recent Danbooru release #35

Closed BrokenEagle closed 5 years ago

BrokenEagle commented 5 years ago

Danbooru has added cache control on all endpoints now along with the newly added expires_in parameter which can be use seconds instead of days.

https://github.com/r888888888/danbooru/releases/tag/production-2019.09.09-233212-utc

This also has the side-benefit of simplifying the confusing non-use of the timestamp parameter.