feat: disable website caching
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Waiting to run
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Blocked by required conditions
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Blocked by required conditions
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Waiting to run
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Blocked by required conditions

This commit is contained in:
Do Siki
2026-08-17 17:37:36 +02:00
parent 0d7d0b51a5
commit 29b10c6770
2 changed files with 11 additions and 1 deletions
+7 -1
View File
@@ -30,7 +30,7 @@ const nextConfig: NextConfig = {
// Image optimization // Image optimization
images: { images: {
formats: ['image/webp', 'image/avif'], formats: ['image/webp', 'image/avif'],
minimumCacheTTL: 60 * 60 * 24 * 30, // 30 days unoptimized: true,
}, },
// Security headers // Security headers
@@ -51,6 +51,12 @@ const nextConfig: NextConfig = {
key: 'Referrer-Policy', key: 'Referrer-Policy',
value: 'origin-when-cross-origin', value: 'origin-when-cross-origin',
}, },
{
key: 'Cache-Control',
value: 'no-store, no-cache, must-revalidate, max-age=0',
},
{ key: 'Pragma', value: 'no-cache' },
{ key: 'Expires', value: '0' },
], ],
}, },
]; ];
+4
View File
@@ -1,6 +1,10 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google"; import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css"; import "./globals.css";
// The CMS must always expose the latest deployed content; do not retain route output.
export const dynamic = 'force-dynamic';
export const revalidate = 0;
import Header from "../components/Header"; import Header from "../components/Header";
import Footer from "../components/Footer"; import Footer from "../components/Footer";
import { ThemeProvider } from "../components/ThemeProvider"; import { ThemeProvider } from "../components/ThemeProvider";