Files
code-server/src/node
Andy Piper 79d2c29c49 Add --disable-file-cache flag (#8085)
The browser writes some workspace files to the client disk during normal
use. The webview service worker stores resources that have an ETag in
Cache Storage, and responses from /vscode-remote-resource can end up in
the HTTP disk cache. --disable-file-downloads does not cover either.

With --disable-file-cache, the webview resource loader sends no ETag for
a resource outside the webview's own extension, so the service worker
does not store it. /vscode-remote-resource responds with
`Cache-Control: no-store` for files outside the extension directories.
Extension files keep their ETags, so webviews still load extension code
from the cache. The flag is off by default.
2026-11-02 14:14:26 -09:00
..
2026-10-09 22:50:17 +00:00
2026-10-23 15:06:41 +00:00
2026-11-02 14:14:26 -09:00
2026-07-02 12:29:55 -08:00
2025-10-28 16:10:56 -08:00
2024-10-17 20:32:21 -08:00
2026-10-23 15:06:41 +00:00