From 7750c7eb92395b0f894645363edcf2fe44da415a Mon Sep 17 00:00:00 2001 From: Sondre Aasemoen Date: Fri, 29 Sep 2023 14:43:35 +0200 Subject: [PATCH] Add note about SSR not working --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f0cbaf..f3698e8 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,11 @@ # NOTE -**Important:** It is vital that this is the last integration in the `integrations` -property. Otherwise some files might not get compressed. +1. **Important:** It is vital that this is the last integration in the `integrations` + property. Otherwise some files might not get compressed. +2. **Note:** This only works for static exports, SSR does not export assets that can + be compressed ahead of time so you need to solve it with middleware. See [this](https://github.com/sondr3/astro-compressor/issues/13#issuecomment-1739721634) + for more context and a partial solution. # Quickstart