GitLab CI .next cache configuration
Unanswered
Golden northern bumble bee posted this in #help-forum
Golden northern bumble beeOP
Here:
https://nextjs.org/docs/pages/building-your-application/deploying/ci-build-caching#gitlab-ci
for cache key used the CI_COMMIT_REF_SLUG, which doesn't look like having much sense: every time you push the commit id is different. Then why using this cache key at all?
Do you folks have a better idea for the cache key?
https://nextjs.org/docs/pages/building-your-application/deploying/ci-build-caching#gitlab-ci
for cache key used the CI_COMMIT_REF_SLUG, which doesn't look like having much sense: every time you push the commit id is different. Then why using this cache key at all?
Do you folks have a better idea for the cache key?