#SSG - Do I need to deploy prerendered html files separately?

4 messages · Page 1 of 1 (latest)

sweet barn
#

Do I need to deploy prerendered html files separately or can I access them with my Angular app? I use Angular 19

velvet gulch
#

No, they are built and deployed with the rest of your content.

If you build an SSR server as well, that will naturally serve prerendered content without any extra work.

You can optionally consider pushing prerendered content to a CDN or a separate caching layer, but that's an optimization, not a required step.

vital raptor
#

can you make prerender work with a sitemap.xml ? as in, all url's are defined in the sitemap

velvet gulch
#

There's nothing out of the box which will do that for you, but you could probably have a post-build step which walks the generated HTML files and creates a sitemap.xml from them.