News for hackers. Stuff that matters.
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by PhineasRex on Thursday July 19, 2018 @02:01PM (#17568840)
You can implement cache ttls with an Apollo link. See https://github.com/kamilkisiela/apollo-link-maxage for an example.
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by haney on Thursday July 19, 2018 @02:04PM (#17568870)
Nice, I tried to hand roll something like this using link-state and my own renders but it didn't work well for me. I'll definitely check this out.