Skip to content

Commit fe3c0a7

Browse files
authored
Merge 781bc0d into cafb1d4
2 parents cafb1d4 + 781bc0d commit fe3c0a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inc/class-stream-wrapper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ public function stream_flush() : bool {
240240
} else {
241241
$params['CacheControl'] = S3_UPLOADS_HTTP_CACHE_CONTROL;
242242
}
243+
} else {
244+
$params['CacheControl'] = 'max-age=31536000';
243245
}
244246

245247
/**

0 commit comments

Comments
 (0)