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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.