How to handle dynamic clinic pages with pre-rendering? #2515
Unanswered
bltMustafa
asked this question in
Help & Questions
Replies: 1 comment
-
Have you seen #713? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Vike team 👋
I’m working on a healthcare project where each clinic has its own detail page — something like /clinic/my-awesome-clinic.
Right now, I'm using pre-rendering during the build step to generate all these clinic pages statically. This works fine at first, but whenever a new clinic is added to the backend, it doesn't show up on the site unless I manually trigger a new build and redeploy.
I’m wondering if you have any recommended approach, tool, or workflow to automate this process?
Ideally, I’d like a system where:
My existing clinic pages stay pre-rendered (for SEO/performance),
But newly added clinics can be rendered dynamically or trigger a rebuild automatically.
Any best practices around this? Maybe some integration with webhooks, incremental static regeneration, or server-side fallback patterns using Vike?
Thanks in advance for your input!
Beta Was this translation helpful? Give feedback.
All reactions