Join Slack
Powered by
Hi, i implement and end point which call an extern...
# server
m
Maxime Vince
12/12/2025, 11:07 AM
Hi, i implement and end point which call an external API. I would like to cache for 30 seconds the answer. I tried HttpCache on my ktor client but i found anything to manage the ttl. have you something ?
✅ 1
j
Jonas
12/12/2025, 11:30 AM
if you want to cache client-side you need to set
Cache-Control
headers on the server-side. See:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control
f
François
12/12/2025, 6:11 PM
want a
kmp solution
? 😄
4
Views
Open in Slack
Previous
Next