redis cache

This commit is contained in:
Igor Loskutov
2025-09-04 10:33:12 -04:00
parent 23a119dc3b
commit 40fe4c1bc7
8 changed files with 2706 additions and 27 deletions

2
www/app/lib/next.ts Normal file
View File

@@ -0,0 +1,2 @@
// next.js tries to run all the lib code during build phase; we don't always want it when e.g. we have connections initialized we don't want to have
export const isBuildPhase = process.env.NEXT_PHASE?.includes("build");