mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 04:33:10 +00:00
Added Redis for Caching and Started Database Query Caching Migration to Redis
This commit is contained in:
parent
f99360d9b9
commit
0f899cb34f
12 changed files with 260 additions and 632 deletions
|
@ -9,6 +9,7 @@ const nextConfig: NextConfig = {
|
|||
reactCompiler: true,
|
||||
mdxRs: true,
|
||||
webpackMemoryOptimizations: true,
|
||||
webpackBuildWorker: true,
|
||||
},
|
||||
images: {
|
||||
remotePatterns: [
|
||||
|
@ -50,6 +51,10 @@ const nextConfig: NextConfig = {
|
|||
|
||||
return config;
|
||||
},
|
||||
cacheHandler:
|
||||
process.env.NODE_ENV === 'production'
|
||||
? require.resolve('./cache-handler.ts')
|
||||
: undefined,
|
||||
};
|
||||
|
||||
const withMDX = createMDX({});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue