Hi, using the Workers Cache API, I’d like to cache responses permanently. Is that possible? Or is there a maximum of time?
How can I cache responses permanently?
// Cache API respects Cache-Control headers. // Setting `s-maxage=10` will limit cache lifetime to 10 seconds // Any changes made to the response here will be reflected in the cached value response.headers.append("Cache-Control", "s-maxage=10");
Should I just basically do