Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update cache handler version and added better logic for opting out of… #65330

Merged
merged 6 commits into from May 13, 2024

Conversation

davidsa03
Copy link
Contributor

What?

Update the cache-handler package to the latest and changed logic for opting out of caching during build.

Why?

The current implementation in the cache-handler-redis example requires an environment variable check for REDIS_AVAILABLE to determine if the server has already started in order to opt out of caching during build. This update leverages the NEXT_PHASE environment variable instead.

How?

This updates the environment variable check to leverage the NEXT_PHASE variable so a user doesn't have to manage a new environment variable.

@davidsa03 davidsa03 requested review from a team as code owners May 3, 2024 13:52
@davidsa03 davidsa03 requested review from ismaelrumzan and jh3y and removed request for a team May 3, 2024 13:52
@ijjk ijjk added the examples Issue/PR related to examples label May 3, 2024
@ijjk
Copy link
Member

ijjk commented May 3, 2024

Allow CI Workflow Run

  • approve CI run for commit: 3b06ed0

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk
Copy link
Member

ijjk commented May 3, 2024

Allow CI Workflow Run

  • approve CI run for commit: 3dd3619

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk ijjk merged commit 7725047 into vercel:canary May 13, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Issue/PR related to examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants