diff --git a/static/conf/nginx.conf b/static/conf/nginx.conf index c00ff3d..fa1d80f 100644 --- a/static/conf/nginx.conf +++ b/static/conf/nginx.conf @@ -35,7 +35,7 @@ http { gzip_static on; brotli_static on; error_page 404 /404.html; - expires 7d; + expires 2d; add_header Cache-Control "public, no-transform"; } @@ -53,7 +53,7 @@ http { proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_ignore_headers Cache-Control; proxy_cache_valid 200 10080m; - expires 10080m; + expires 7d; add_header Cache-Control "public, no-transform"; } } diff --git a/static/index.html b/static/index.html index 194f41c..9f933fe 100644 --- a/static/index.html +++ b/static/index.html @@ -62,7 +62,7 @@ diff --git a/static/sw.js b/static/sw.js index a386707..d8eafcc 100644 --- a/static/sw.js +++ b/static/sw.js @@ -1,6 +1,6 @@ /* Service Worker */ -const appVersion = "0.0.1-dev-2023020316" +const appVersion = "0.0.1-dev-2023020401" const cacheName = `owlboard-${appVersion}` const cacheIDs = [cacheName] const cacheFiles = [ @@ -31,10 +31,12 @@ const cacheFiles = [ "/images/icon.svg", "/images/logo/wide_logo.svg", "/images/logo/mono-logo.svg", + "images/app-icons/any/app-256.png", "/images/nav/alert_icon.svg", "/images/nav/save.svg", "/images/nav/home_icon.svg", - "/images/nre/nre-powered_200w.webp" + "/images/nre/nre-powered_400w.webp", + "/images/nre/nre-powered_400w.jxl" ] self.addEventListener("install", (e) => {