tambahannnya

This commit is contained in:
bipproduction
2025-02-15 21:56:18 +08:00
parent 00355814bc
commit 2115af8126
84 changed files with 2189 additions and 320 deletions

View File

@@ -1,7 +1,20 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
async headers() {
return [
{
source: '/assets/:path*', // Path ke folder gambar
headers: [
{
key: 'Cache-Control',
value: 'public, max-age=3600, stale-while-revalidate=600', // Cache selama 1 jam, validasi ulang setelah 10 menit
},
],
},
];
},
};
export default nextConfig;