From 72ab423c1029efb94f5d4d6721f920cdbbb3a6c4 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Thu, 11 Apr 2024 07:05:57 +0200 Subject: [PATCH] made sure that nuxt serves assets with compression --- webclient/nuxt.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webclient/nuxt.config.ts b/webclient/nuxt.config.ts index 59840d244..878a49837 100644 --- a/webclient/nuxt.config.ts +++ b/webclient/nuxt.config.ts @@ -116,6 +116,12 @@ export default defineNuxtConfig({ fallback: "light", }, content: {}, + nitro: { + compressPublicAssets: { + gzip: true, + brotli: true, + }, + }, routeRules: { "/": { prerender: true }, "/about/**": { prerender: true },