From 3c9d19d185fb4974ec31b9b0247fe73f5d8ccb37 Mon Sep 17 00:00:00 2001 From: Adam French Date: Thu, 26 Mar 2026 02:38:08 +0000 Subject: [PATCH] Improve PageSpeed accessibility, SEO, and performance scores Add alt attributes, width/height for CLS, aria-labels, meta description, preconnect hints, LCP fetchpriority, and sound/stamp cache headers. Co-Authored-By: Claude Opus 4.6 --- nginx/nginx.conf.template | 7 +++++++ vue/index.html | 3 +++ vue/src/components/util/Chat.vue | 3 ++- vue/src/components/util/MusicPlayer.vue | 2 +- vue/src/components/util/Radio.vue | 4 ++-- vue/src/components/util/Slideshow.vue | 2 +- vue/src/components/util/Timer.vue | 2 ++ vue/src/components/util/Wip.vue | 2 +- vue/src/views/home/Home.vue | 3 +++ vue/src/views/home/Listening.vue | 2 +- vue/src/views/home/Stamps.vue | 4 ++-- vue/src/views/home/Steam.vue | 2 ++ 12 files changed, 27 insertions(+), 9 deletions(-) diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index 3524a0a..e62e05b 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -118,6 +118,13 @@ http { location = /img/stamps/mine.gif { add_header Access-Control-Allow-Origin *; + expires 7d; + add_header Cache-Control "public"; + } + + location /sound/ { + expires 7d; + add_header Cache-Control "public"; } location $BACKEND_ENDPOINT { diff --git a/vue/index.html b/vue/index.html index c7760ba..0475a2e 100644 --- a/vue/index.html +++ b/vue/index.html @@ -3,7 +3,10 @@ + AF + + diff --git a/vue/src/components/util/Chat.vue b/vue/src/components/util/Chat.vue index 4289257..eb2c847 100644 --- a/vue/src/components/util/Chat.vue +++ b/vue/src/components/util/Chat.vue @@ -152,6 +152,7 @@ onUnmounted(() => { Uploaded image @@ -170,7 +171,7 @@ onUnmounted(() => {
- +
- +
diff --git a/vue/src/components/util/Radio.vue b/vue/src/components/util/Radio.vue index 38e9ebf..d441523 100644 --- a/vue/src/components/util/Radio.vue +++ b/vue/src/components/util/Radio.vue @@ -1,12 +1,12 @@