.dev.vars.env file .dev.vars file that contains the exact same content as your .env file

cache supported btw?

next dev or the previewnext dev for local development, but then preview your app using wrangler pages dev to make sure everything works as you'd expect it to (since next dev doesn't represent faithully what will run in production)
fetch from that binding (which you get from getRequestContext)wrangler dev 

WARNING: Tried to access method or property 'appleFetch' on a Service Binding or Durable Object stub. Are you trying to use RPC? If so, please enable the 'rpc' compat flag or update your compat date to 2024-04-03 or later (see https://developers.cloudflare.com/workers/configuration/compatibility-dates/ ). If you are not trying to use RPC, please note that in the future, this property (and all other property names) will appear to be present as an RPC method."2024-04-05"?wrangler types, I'll look into that, thanks for pointing it out cachewrangler pages devgetRequestContextWARNING: Tried to access method or property 'appleFetch' on a Service Binding or Durable Object stub. Are you trying to use RPC? If so, please enable the 'rpc' compat flag or update your compat date to 2024-04-03 or later (see https://developers.cloudflare.com/workers/configuration/compatibility-dates/ ). If you are not trying to use RPC, please note that in the future, this property (and all other property names) will appear to be present as an RPC method."2024-04-05"wrangler types