My interfaces are all post requests, and I want to cache posts. Is there a way?
bbhxwl opened this issue · comments
My interfaces are all post requests, and I want to cache posts. Is there a way?
workbox-core.dev.js:860 Uncaught (in promise) attempt-to-cache-non-get-request: Unable to cache 'https://api.***.com/Api/Manage/v1/ProjectServiceOrderApi_GetServiceOrderReviewListToPage' because it is a 'POST' request and only 'GET' requests can be cached.
at Object.putWrapper [as put] (https://cdn.jsdelivr.net/npm/workbox-cdn@5.1.4/workbox/workbox-core.dev.js:860:17)
at NetworkFirst._getNetworkPromise (https://cdn.jsdelivr.net/npm/workbox-cdn@5.1.4/workbox/workbox-strategies.dev.js:570:57)
at async NetworkFirst.handle (https://cdn.jsdelivr.net/npm/workbox-cdn@5.1.4/workbox/workbox-strategies.dev.js:445:24)
Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:
- For PRs, we closed everything that doesn't target the current
v7
branch. - For Issues, we closed everything that was created before 2024.
Thanks, and we hope for your understanding!
The Workbox team