Skip to content

Commit a862e84

Browse files
authored
web: cache versioned static files
Co-authored-by: Werner Fleischer <70745309+wernf@users.noreply.github.com>
1 parent 48d499a commit a862e84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web/rootfs/defaults/meet.conf

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|.
4343
{
4444
add_header 'Access-Control-Allow-Origin' '*';
4545
alias /usr/share/jitsi-meet/$1/$2;
46+
47+
# cache all versioned files
48+
if ($arg_v) {
49+
expires 1y;
50+
}
4651
}
4752

4853
{{ if $ENABLE_COLIBRI_WEBSOCKET }}

0 commit comments

Comments
 (0)