This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for cacheTags to be passed on
fetch
requests (#247)
* Allow for cacheTags to be passed on `fetch` requests Allowing cacheTags within the workers process to be processed as part of a standard fetch has been a highly requested feature. This new object within the request initialization will allow for supplemental Cache-Tag headers to be returned so that they can be stored with the relevant content. This will allow for better control over Purge by Tag mechanisms within the workers processes. Implementation: * Adds a new object to the `cf.d.ts` declaration. * fixup! Allow for cacheTags to be passed on `fetch` requests Co-authored-by: Mikey Sleevi <[email protected]> Co-authored-by: Pete Bacon Darwin <[email protected]>
- Loading branch information