From 199c43e1d7127bbfc9659a387b733bff11153975 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 21 May 2023 15:40:45 +0200 Subject: [PATCH] make cache files language specific --- handlers/20_page.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/20_page.sh b/handlers/20_page.sh index eb894c2..5c3da0c 100755 --- a/handlers/20_page.sh +++ b/handlers/20_page.sh @@ -11,7 +11,7 @@ wiki() { # Get page from data or underlay dir, handle caching local page="$(PATH "$1")" mdfile cache cachetime - cache="$_DATA/pages/$page/#page.${USER_ID}.cache" + cache="$_DATA/pages/$page/#page:${LANGUAGE}.${USER_ID}.cache" mdfile="$(mdfile "$page")" || return 4 acl_read "$page" || return 3 -- 2.39.2