AlanOC91 / YGOPRODeck

Yu-Gi-Oh! Card Database and Deck Share Site
81 stars 4 forks source link

Random card endpoint caching is enabled #474

Closed Doarakko closed 1 year ago

Doarakko commented 1 year ago

Cache Control is disabled for this endpoint so it should always provide a fresh card. https://ygoprodeck.com/api-guide/

The above is in the documentation, but with caching enabled. I would like you to invalidate the cache.

PS I always have fun with the bot that lets you draw Yu-Gi-Oh cards on Slack. Thank you for providing great API. https://github.com/Doarakko/draw-edge

AlanOC91 commented 1 year ago

Hey! Thanks for the report! This should be fixed now. We've been making some adjustments to our page caches recently.

Doarakko commented 1 year ago

Thank you for quick fix!