apollo-cache-control icon indicating copy to clipboard operation
apollo-cache-control copied to clipboard

Setting s-maxage to header beside max-age

Open dohomi opened this issue 6 years ago • 3 comments

Hello It would be great if s-maxage would be able to be passed to the cacheHeader. I am using Zeit deployments and to enable the caching the s-maxage would be required. Thanks

dohomi avatar Aug 16 '19 02:08 dohomi

Any workaround ?

mathix420 avatar Feb 21 '20 11:02 mathix420

Same issue here. Anyone manage to get it working?

mattvb91 avatar Apr 02 '20 13:04 mattvb91

Shameless plug: You may wanna have a look at https://graphcdn.io, which takes care of the caching altogether. You can put it in front of your Vercel API route.

timsuchanek avatar Jan 30 '21 08:01 timsuchanek