fake-news-detector / api

API for saving news flagging by the users
https://fake-news-detector-api.herokuapp.com/
8 stars 1 forks source link

Add 1 day cache for some endpoints #16

Closed rogeriochaves closed 6 years ago

rogeriochaves commented 6 years ago

According to this: https://support.cloudflare.com/hc/en-us/articles/202775670-How-Do-I-Tell-Cloudflare-What-to-Cache-

cloudflare should respect that caching header and cache it

this could avoid the number of requests to the server for a very popular news for example