Server-side generation should not be closely tied to the sitemap #334
Closed
rmtmckenzie
started this conversation in
Proposals For Qwik
Replies: 2 comments 1 reply
-
|
Is the dynamic sitemap https://qwik.dev/docs/advanced/sitemaps/ enough to cover your usecase? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Oh whoops, totally missed that in the docs - I really don't know how now you've pointed it out. That definitely does what I need. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
What is it about?
No response
What's the motivation for this proposal?
Problems you are trying to solve:
Goals you are trying to achieve:
Any other context or information you want to share:
I have to have some server-side logic for pages that are otherwise fairly static. This means that they cannot be statically generated and are therefore excluded from the sitemap. I do want them to be in the sitemap.xml. and there doesn't seem to be any way other than maintaining the sitemap myself.
Proposed Solution / Feature
What do you propose?
It would be wonderful if the sitemap generation could be decoupled from the static site generation, or at least be able to be overridden. This would also be quite useful the otherway - you might want a page to be statically generated but not included in the sitemap.
I'm using cloudflare workers, but I think this is applies generally to all vite-based adapters.
Code examples
Links / References
No response
Beta Was this translation helpful? Give feedback.
All reactions