From 4a229657fdad9c039529314aed0fc0ae17480829 Mon Sep 17 00:00:00 2001 From: Jamie Burchell Date: Fri, 5 Nov 2021 15:56:26 +0000 Subject: [PATCH] Extend media and font cache TTL to 1 year --- h5bp/web_performance/cache_expiration.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/h5bp/web_performance/cache_expiration.conf b/h5bp/web_performance/cache_expiration.conf index 61c3757..c023581 100644 --- a/h5bp/web_performance/cache_expiration.conf +++ b/h5bp/web_performance/cache_expiration.conf @@ -54,20 +54,20 @@ map $sent_http_content_type $expires { ~*text/markdown 0; # Media files - ~*audio/ 1M; - ~*image/ 1M; - ~*video/ 1M; + ~*audio/ 1y; + ~*image/ 1y; + ~*video/ 1y; # WebAssembly ~*application/wasm 1y; # Web fonts - ~*font/ 1M; - ~*application/vnd.ms-fontobject 1M; - ~*application/x-font-ttf 1M; - ~*application/x-font-woff 1M; - ~*application/font-woff 1M; - ~*application/font-woff2 1M; + ~*font/ 1y; + ~*application/vnd.ms-fontobject 1y; + ~*application/x-font-ttf 1y; + ~*application/x-font-woff 1y; + ~*application/font-woff 1y; + ~*application/font-woff2 1y; # Other ~*text/x-cross-domain-policy 1w;