fix(cache): disable client router cache and fix terms routing
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 2m8s
Build & Deploy / 🏗️ Build (push) Failing after 16s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-03-12 12:44:42 +01:00
parent 6f80e72c1d
commit 5376b939d5
3 changed files with 12 additions and 4 deletions

View File

@@ -12,6 +12,10 @@ const nextConfig = {
maxInactiveAge: 60 * 1000,
},
experimental: {
staleTimes: {
dynamic: 0,
static: 0,
},
optimizePackageImports: ['lucide-react', 'framer-motion', '@/components/ui'],
cpus: 3,
workerThreads: false,
@@ -437,6 +441,10 @@ const nextConfig = {
source: '/de/kontakt',
destination: '/de/contact',
},
{
source: '/de/agbs',
destination: '/de/terms',
},
// Safety rewrites for English locale using German slugs (legacy or content errors)
{
source: '/en/produkte',