We have a nextjs project that we have added the recommended cache definition to:
```
Hello @Brian Duffey
From my experience, caching in Bitbucket Pipelines can be tricky when dealing with evolving project states like diverging codebases.
While the current cache configuration saves time on repeat builds, it can degrade as code diverges. To address this, consider using cache keys that regenerate selectively based on specific file changes or build conditions.
Unfortunately, Bitbucket doesn’t currently support automatic updates to cache without invalidating it, as you mentioned.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.