Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use FileResponse if no _app_prefix (#16020)
## Summary & Motivation Use FileResponse so the browser caches javascript responses. I need to set the proper headers even when there is an app_path_prefix so that they're cached for OSS users but I'll tackle that next time, for now I want to fix this for cloud. ## How I Tested These Changes Locally made sure files are cached <img width="844" alt="Screenshot 2023-08-22 at 4 25 36 PM" src="https://github.com/dagster-io/dagster/assets/2286579/faa024f6-10a4-4f7b-809b-9fb5a4507cc6">
- Loading branch information