[deepthought pd] curl -v http://whatsinstandard.com/api/v5/sets.json
* Trying 192.30.252.154...
* TCP_NODELAY set
* Connected to whatsinstandard.com (192.30.252.154) port 80 (#0)
> GET /api/v5/sets.json HTTP/1.1
> Host: whatsinstandard.com
> User-Agent: curl/7.52.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: GitHub.com
< Date: Wed, 02 Aug 2017 13:50:09 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 2635
< Last-Modified: Fri, 14 Jul 2017 07:58:38 GMT
< Access-Control-Allow-Origin: *
< Expires: Wed, 02 Aug 2017 14:00:09 GMT
< Cache-Control: max-age=600
< Accept-Ranges: bytes
< X-GitHub-Request-Id: C691:4046:25CB4C:362069:5981D891
This seems very short for data that changes only every few months.
This might be a result of using github pages rather than anything intentional and might be wontfix because getting it to do anything else is too hard but I thought I'd bring it up.
I'll work around it at my end but it would be much the better if the endpoint itself was saying "cache for a day/week/even longer". mtgjson's api output has an 8 day cache time and that changes more often.