Cache WebP files for 1 year too

This commit is contained in:
Danny van Kooten 2024-06-19 10:11:51 +02:00 committed by GitHub
parent 489ae1b51a
commit 89de38fd1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ location ~* \.(?:rss|atom)$ {
}
# Caches images, icons, video, audio, HTC, etc.
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ {
location ~* \.(?:jpg|jpeg|gif|png|webp|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ {
expires 1y;
access_log off;
}