perf: fix TBT/LCP/a11y — disable shader animation, cache APIs, fix images
Some checks failed
Gitea CI / test-build (push) Failing after 5m19s
Production Deployment (Zero Downtime) / deploy-production (push) Failing after 6m0s

Co-authored-by: denshooter <44590296+denshooter@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-01 22:18:32 +00:00
parent 3ac7c7a5b3
commit 9a55dc7f81
14 changed files with 92 additions and 64 deletions

View File

@@ -3,14 +3,15 @@ import { getTechStack } from '@/lib/directus';
import { checkRateLimit, getClientIp } from '@/lib/auth';
export const runtime = 'nodejs';
export const revalidate = 300;
const CACHE_TTL = 300; // 5 minutes
/**
* GET /api/tech-stack
*
*
* Loads Tech Stack from Directus with fallback to static data
*
*
* Query params:
* - locale: en or de (default: en)
*/