Skip to content

Commit 25ab568

Browse files
committed
fix(backend:files): enable cacheControl to ensure consistent client-side caching behavior
1 parent dfff2dc commit 25ab568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/applications/files/utils/send-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class SendFile {
2323
etag: true,
2424
dotfiles: 'allow',
2525
lastModified: true,
26-
cacheControl: false,
26+
cacheControl: true,
2727
index: false,
2828
highWaterMark: DEFAULT_HIGH_WATER_MARK
2929
}

0 commit comments

Comments
 (0)