worker cache api

hi guys, for worker cache api, if i cache the smae request the route is receiving, will the same route be invoked again on next request ? i.e if i have a get api /blog ?id=1, and i used cache api to cache exactly this request, on next request, will 1. this worker be invoked again 2. will cf directly return from cache api without worker call? 3. worker will be invoked and we need to check if cache api has the request my experience have been 2 on sveltekit +page.ts api call, somehow cached data is directly returned not the html , i.e i have a +page.ts on /blog, and i fetch data from db, this data is cached with the same request +page.ts received and on next page visit, cf directly returned from cache which is just a Json not page html.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server