Disable inlineCriticalCss by default for better SSR performance

This commit is contained in:
Tim Donohue
2024-04-15 16:13:41 -05:00
parent 0a1764c65a
commit ee174747c2
4 changed files with 10 additions and 8 deletions

View File

@@ -14,8 +14,10 @@ export interface SSRConfig extends Config {
enablePerformanceProfiler: boolean;
/**
* Reduce render blocking requests by inlining critical CSS.
* Defaults to true.
* When set to true, reduce render blocking requests by inlining critical CSS.
* Determining which styles are critical can be an expensive operation;
* this option can be disabled to boost server performance at the expense of loading smoothness.
* For improved SSR performance, DSpace defaults this to false (disabled).
*/
inlineCriticalCss: boolean;
}