--- title: 'Configure Cache Outputs to Handle the .next Folder' videoUrl: 'https://youtu.be/t8lOa__TD7o' duration: '2:07' --- By default Nx captures common folders like `dist` or `build` and automatically restores them from the local cache. However, it doesn't capture the `.next` folder by default. In this lesson, you'll learn how to fine-tune local caching to ensure proper handling of the `.next` folder. We'll configure the cache outputs to make sure the Next.js build artifacts are properly restored from cache when needed. ## Relevant Links - [Cache Task Results](/features/cache-task-results)