mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
added efficenciy
This commit is contained in:
parent
bc9b0b925e
commit
7ac5713193
8 changed files with 168 additions and 38 deletions
|
|
@ -5,6 +5,13 @@ const nextConfig: NextConfig = {
|
|||
outputFileTracingIncludes: {
|
||||
"/api/invoices/*": ["./modules/shared/pdf/assets/**/*"],
|
||||
},
|
||||
experimental: {
|
||||
// Bereits besuchte Seiten 5 Min. im Browser halten. Eigene Änderungen leeren den Cache sofort
|
||||
// (revalidatePath in den Actions), ebenso Login/Logout (Cookie-Änderung).
|
||||
staleTimes: {
|
||||
dynamic: 300,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue