Skip to content

Prerender without build in Angular 19 SSR/hybrid rendering engine #30268

Closed as not planned
@vzarskus

Description

@vzarskus

Command

build

Description

I am specifically talking about the new Angular hybrid rendering engine which is live since version 19.

It would be useful to have an ability to regenerate SSG pages without rebuilding the whole application. Even better if we could pass a route or a list of routes as an argument.

The use case is that some prerendered pages content might get outdated and there is no other way to regenerate them except to rerun the whole build and then redeploy the application.
If we could just run a command to regenerate, it would be much smoother and easier experience.

Describe the solution you'd like

It could be another builder in @angular-builders or just a separate ng command ng prerender --url my-path/my-subpath.

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions