Commit 0688cda 1 parent 1aa73ff commit 0688cda Copy full SHA for 0688cda
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ Let's add the Apache configuration file for the `sulu.lo` domain.
60
60
ExpiresByType image/svg "access plus 1 year"
61
61
ExpiresByType image/jpeg "access plus 1 year"
62
62
ExpiresByType image/jpg "access plus 1 year"
63
+ ExpiresByType image/avif "access plus 1 year"
63
64
ExpiresByType image/webp "access plus 1 year"
64
65
ExpiresByType image/x-icon "access plus 1 year"
65
66
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
@@ -74,7 +75,7 @@ Let's add the Apache configuration file for the `sulu.lo` domain.
74
75
</IfModule>
75
76
76
77
<IfModule mod_headers.c>
77
- <filesMatch ".(ico|css|js|gif|webp|jpe?g|png|svg|woff|woff2|eot|ttf|mp4)$">
78
+ <filesMatch ".(ico|css|js|gif|webp|avif| jpe?g|png|svg|woff|woff2|eot|ttf|mp4)$">
78
79
Header set Cache-Control "public, max-age=31536000, immutable"
79
80
</filesMatch>
80
81
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ The Nginx configuration could look something like.
26
26
}
27
27
28
28
# expire
29
- location ~* \.(?:ico|css|js|gif|webp|jpe?g|png|svg|woff|woff2|eot|ttf|mp4)$ {
29
+ location ~* \.(?:ico|css|js|gif|webp|avif| jpe?g|png|svg|woff|woff2|eot|ttf|mp4)$ {
30
30
# try to serve file directly, fallback to index.php
31
31
try_files $uri /index.php$is_args$args;
32
32
access_log off;
You can’t perform that action at this time.
0 commit comments