Re:Use links not keys to represent relationships in APIs
by barrkel on Sunday May 12, 2019 @05:31AM
(#19890962)
It's an API. The client isn't likely to be a browser. If it's integrating with another system, those links may have quite a long life.
[ Parent
| on HN ]
Re:Use links not keys to represent relationships in APIs
by randallsquared on Sunday May 12, 2019 @09:14AM
(#19891663)
Caching behavior is not only about browsers.
Re:Use links not keys to represent relationships in APIs
by barrkel on Sunday May 12, 2019 @09:49AM
(#19891872)
For sure, but for most people using APIs to integrate with systems, caching is an unwanted middle way between always fresh and stored persistent, where local storage is the "cache", except it isn't invalidated using HTTP logic.