You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been running into issues with deployments and realized that /_app/env.js is cached by cloudflare due to a missing cache buster in the filename.
A similiar issue could happen with /_app/version.json, but JSON files are usually not cached by the common cloudflare presets.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
We have been running into issues with deployments and realized that
/_app/env.js
is cached by cloudflare due to a missing cache buster in the filename.A similiar issue could happen with
/_app/version.json
, but JSON files are usually not cached by the common cloudflare presets.For now we have disabled cache for that path 👍🏻
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-fsrnypku?file=build%2F_app%2Fenv.js
Using the static adapter and a public static env var.
Logs
# not important
System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: