Skip to content

Commit

Permalink
perf: disable streaming in SSG
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jan 4, 2024
1 parent 2814984 commit b47af21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/astro/src/core/build/buildPipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export class BuildPipeline extends Pipeline {
routeCache: staticBuildOptions.routeCache,
site: manifest.site,
ssr,
streaming: true,
// NOTE: there's no need to enable streaming in SSG
streaming: !ssr,
})
);
this.#internals = internals;
Expand Down

0 comments on commit b47af21

Please sign in to comment.