Skip to content

Commit b92cac2

Browse files
committed
Add ExpireFilter for M3U8 mime-type for Last-Modified header
1 parent 6e788c1 commit b92cac2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/webapp/WEB-INF/web.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<!-- For Keycloak Integration -->
3434
<!--
35-
<filter>
35+
<filter>"src/main/webapp/WEB-INF/web.xml"
3636
<filter-name>springSecurityFilterChain</filter-name>
3737
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
3838
</filter>
@@ -315,6 +315,11 @@
315315
<param-name>ExpiresByType application/x-mpegURL</param-name>
316316
<param-value>access plus 0 seconds</param-value>
317317
</init-param>
318+
<!-- M3U8 mime-type is application/vnd.apple.mpegurl so add the expire filter -->
319+
<init-param>
320+
<param-name>ExpiresByType application/vnd.apple.mpegurl</param-name>
321+
<param-value>access plus 0 seconds</param-value>
322+
</init-param>
318323
<init-param>
319324
<param-name>ExpiresByType application/dash+xml</param-name>
320325
<param-value>access plus 0 seconds</param-value>

0 commit comments

Comments
 (0)