File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,10 @@ export interface SSRConfig extends Config {
1414 enablePerformanceProfiler : boolean ;
1515
1616 /**
17- * Reduce render blocking requests by inlining critical CSS.
18- * Defaults to true.
17+ * When set to true, reduce render blocking requests by inlining critical CSS.
18+ * Determining which styles are critical can be an expensive operation;
19+ * this option can be disabled to boost server performance at the expense of loading smoothness.
20+ * For improved SSR performance, DSpace defaults this to false (disabled).
1921 */
2022 inlineCriticalCss : boolean ;
2123}
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ import { BuildConfig } from '../config/build-config.interface';
33export const environment : Partial < BuildConfig > = {
44 production : true ,
55
6- // Angular SSR settings
6+ // Angular SSR (Server Side Rendering) settings
77 ssr : {
88 enabled : true ,
99 enablePerformanceProfiler : false ,
10- inlineCriticalCss : true ,
10+ inlineCriticalCss : false ,
1111 } ,
1212} ;
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ import { NotificationAnimationsType } from '../app/shared/notifications/models/n
77export const environment : BuildConfig = {
88 production : false ,
99
10- // Angular SSR settings
10+ // Angular SSR (Server Side Rendering) settings
1111 ssr : {
1212 enabled : true ,
1313 enablePerformanceProfiler : false ,
14- inlineCriticalCss : true ,
14+ inlineCriticalCss : false ,
1515 } ,
1616
1717 // Angular express server settings.
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ import { BuildConfig } from '../config/build-config.interface';
88export const environment : Partial < BuildConfig > = {
99 production : false ,
1010
11- // Angular SSR settings
11+ // Angular SSR (Server Side Rendering) settings
1212 ssr : {
1313 enabled : false ,
1414 enablePerformanceProfiler : false ,
15- inlineCriticalCss : true ,
15+ inlineCriticalCss : false ,
1616 } ,
1717} ;
1818
You can’t perform that action at this time.
0 commit comments