You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initial build on Cloudflare is quick, however, we'd like to cache it for a certain number of seconds on the Cloudflare cache or KV store to achieve something akin to Incremental Static Rendering in Next, where it will only re-render every N seconds.
This would also dramatically improve TTFB.
Describe the proposed solution
Add an option (or use information from load()) to indicate to the Cloudflare Worker to write the rendered result to Cloudflare cache with a TTL after rendering. Check if rendered result exists in cache before rendering.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
I'd be happy to implement it, if this aligns with the roadmap etc.