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

Implement events for on-demand revalidation of client pages #364

Open
ghost opened this issue May 18, 2022 · 0 comments
Open

Implement events for on-demand revalidation of client pages #364

ghost opened this issue May 18, 2022 · 0 comments
Labels
enhancement help wanted php Pull requests that update Php code

Comments

@ghost
Copy link

ghost commented May 18, 2022

Currently the client uses interval-based revalidation for statically-generated pages. Ideally, we want to do on-demand based revalidation. To accomplish this, we need to issue requests to the client when a change is made. Ergo, we need a listener that hits an API endpoint for each instance of the client running in the current environment.

Note: This is dependent on defining the necessary payload for each event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted php Pull requests that update Php code
Projects
None yet
Development

No branches or pull requests

0 participants