mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
Add 'cache-control: no-store' header to DevTools server
Bug: https://github.com/flutter/devtools/issues/3896 Change-Id: I5cfc2e92716517a044a848339426feb827bb64cb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286100 Commit-Queue: Elliott Brooks <elliottbrooks@google.com> Reviewed-by: Nate Bosch <nbosch@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>
This commit is contained in:
parent
9c50105dab
commit
4ac70a3696
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ class DevToolsServer {
|
|||
// Ensure browsers don't cache older versions of the app.
|
||||
server.defaultResponseHeaders.add(
|
||||
HttpHeaders.cacheControlHeader,
|
||||
'max-age=0',
|
||||
'no-store',
|
||||
);
|
||||
|
||||
// Serve requests in an error zone to prevent failures
|
||||
|
|
Loading…
Reference in a new issue