Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(backend:files): enable `cacheControl` to ensure consistent client-side caching behavior
johaven25ab56808b7f
diff --git a/backend/src/applications/files/utils/send-file.ts b/backend/src/applications/files/utils/send-file.tsindex 08834da2..cbfa21cb 100644--- a/backend/src/applications/files/utils/send-file.ts+++ b/backend/src/applications/files/utils/send-file.ts@@ -23,7 +23,7 @@ export class SendFile {etag: true,dotfiles: 'allow',lastModified: true,- cacheControl: false,+ cacheControl: true,index: false,highWaterMark: DEFAULT_HIGH_WATER_MARK}