If you create one from the Edit Cloudflare Workers template, it's named that
If you create one from the Edit Cloudflare Workers template, it's named that


vars
fetch() subrequests.
wrangler deploy --var FOO:$BARcache class that uses caches.default.put to set the cached request / response.caches.default then it fetches the origin, where does the higher tier come in here? is it done automatically?caches.default (or caches.open("...")) doesn't use Tiered Cache.varsfetch()wrangler deploy --var FOO:$BARname: Build
on:
push:
branches:
- main
- develop
env:
API_URL: ${{ vars.API_URL }}
CF_Access_Client_Id: ${{ vars.CF_Access_Client_Id }}
CF_Access_Client_Secret: ${{secrets.CF_Access_Client_Secret}}
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: deploy --env=${{ github.ref_name }} --experimental-json-configcachecaches.default.putrequest / responsecaches.open("...")