UNPKG

@trieb.work/nextjs-turbo-redis-cache

Version:

Designed for speed, scalability, and optimized performance, nextjs-turbo-redis-cache is your custom cache handler for demanding production environments.

14 lines (11 loc) 247 B
import type { NextConfig } from 'next'; const nextConfig: NextConfig = { cacheComponents: true, cacheHandlers: { default: require.resolve('./cache-handler.js'), }, turbopack: { root: __dirname, }, }; export default nextConfig;