Consider updating the static file middleware to return cache-control: no-cache in Development
Open
area-middleware
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
The static files middleware currently doesn't return any cache control headers in development, which can lead to static files getting cached and content changes not being reflected in the app. It would be convenient if the static files middleware add the cache-control: no-cache header when running in development to prevent caching issues.
Contributor guide
Assessment
This issue has not been assessed yet.