npm create cloudflare@latest my-svelte-app -- --framework=sveltewrangler pages dev (which is an entirely local emulation) will use Wrangler.toml, but it isn't taken into consideration when building or deploying your site.wrangler pages devpages dev are just an emulation, stored locally.id = "abc" and id = "cba" will be different namespaces locally, but they don't have to be the same as an actual ID.
ttl you set if you want an expiring key.cacheTtl parameter, then yes. It is best effort, which means that it will, at the most, be cached for the specified amount of time
cacheTtl, based on demand/other factorsnpm create cloudflare@latest my-svelte-app -- --framework=sveltewrangler pages devwrangler pages devpages dev