Change to ioredis and Update Caching

This commit is contained in:
Ahmad 2025-01-23 22:01:17 -05:00
parent 275e2e4e73
commit 15f879ebb0
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
5 changed files with 91 additions and 104 deletions

View file

@ -55,6 +55,7 @@ const nextConfig: NextConfig = {
process.env.NODE_ENV === 'production'
? require.resolve('./cache-handler.mjs')
: undefined,
cacheMaxMemorySize: process.env.NODE_ENV === 'production' ? 0 : undefined,
};
const withMDX = createMDX({});