From 71ad543e2c57a41e2147f439b91bc032ee06b5d0 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sun, 23 Nov 2025 20:20:16 +0100 Subject: [PATCH] Update NginxProxyManager.md --- docs/tutorials/tab-nginx/NginxProxyManager.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/tutorials/tab-nginx/NginxProxyManager.md b/docs/tutorials/tab-nginx/NginxProxyManager.md index 8f019c5..f7808d2 100644 --- a/docs/tutorials/tab-nginx/NginxProxyManager.md +++ b/docs/tutorials/tab-nginx/NginxProxyManager.md @@ -77,6 +77,20 @@ A very common and difficult-to-debug issue with WebSocket connections is a misco Failure to do so will cause WebSocket connections to fail, even if you have enabled "Websockets support" in Nginx Proxy Manager. +::: + +:::tip Caching Best Practice + +While Nginx Proxy Manager handles most configuration automatically, be aware that: + +- **Static assets** (CSS, JS, images) are cached by default for better performance +- **Authentication endpoints** should never be cached +- If you add custom caching rules in NPM's "Advanced" tab, ensure you exclude paths like `/api/`, `/auth/`, `/signup/` , `/signin/`, `/sso/`, `/admin/`, `/signout/`, `/oauth/`, `/login/`, and `/logout/` + +The default NPM configuration handles this correctly - only modify caching if you know what you're doing. + +::: + **Example:** If you access your UI at `https://openwebui.hello.duckdns.org`, you must set: