project setup with core files including configuration, package management, and basic structure. Added .gitignore, README, and various TypeScript types for CMS components. Implemented initial components and layouts for the application.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Cache-Konfiguration
|
||||
* TTL-Werte in Millisekunden
|
||||
*/
|
||||
export const cacheConfig = {
|
||||
pages: {
|
||||
ttl: parseInt(process.env.CACHE_PAGES_TTL || '60000'), // 60 Sekunden
|
||||
},
|
||||
pageSeo: {
|
||||
ttl: parseInt(process.env.CACHE_PAGE_SEO_TTL || '300000'), // 5 Minuten
|
||||
},
|
||||
navigation: {
|
||||
ttl: parseInt(process.env.CACHE_NAVIGATION_TTL || '300000'), // 5 Minuten
|
||||
},
|
||||
products: {
|
||||
ttl: parseInt(process.env.CACHE_PRODUCTS_TTL || '30000'), // 30 Sekunden
|
||||
},
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user