Skip to content

Commit

Permalink
[DURACOM-288] Add missing settings to config.example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
atarix83 committed Jan 29, 2025
1 parent cfba84c commit 45ee56f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions config/config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ ui:

# Angular Server Side Rendering (SSR) settings
ssr:
# A boolean flag indicating whether the SSR configuration is enabled
# Defaults to true.
enabled: boolean;

# Enable request performance profiling data collection and printing the results in the server console.
# Defaults to false.
enablePerformanceProfiler: boolean;

# Whether to tell Angular to inline "critical" styles into the server-side rendered HTML.
# Determining which styles are critical is a relatively expensive operation; this option is
# disabled (false) by default to boost server performance at the expense of loading smoothness.
Expand All @@ -34,6 +42,19 @@ ssr:
# If set to false the component will not be included in the HTML returned from the server side rendering.
enableBrowseComponent: false,

# Enable state transfer from the server-side application to the client-side application.
# Defaults to true.
# Note: When using an external application cache layer, it's recommended not to transfer the state to avoid caching it.
# Disabling it ensures that dynamic state information is not inadvertently cached, which can improve security and
# ensure that users always use the most up-to-date state.
transferState: boolean;

# When a different REST base URL is used for the server-side application, the generated state contains references to
# REST resources with the internal URL configured, so it is not transferred to the client application, by default.
# Enabling this setting transfers the state to the client application and replaces internal URLs with the public
# URLs used by the client application.
replaceRestUrl: boolean;

# The REST API server settings
# NOTE: these settings define which (publicly available) REST API to use. They are usually
# 'synced' with the 'dspace.server.url' setting in your backend's local.cfg.
Expand All @@ -43,6 +64,9 @@ rest:
port: 443
# NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: /server
# Provide a different REST url to be used during SSR execution. It must contain the whole url including protocol, server port and
# server namespace (uncomment to use it).
#ssrBaseUrl: http://localhost:8080/server

# Caching settings
cache:
Expand Down

0 comments on commit 45ee56f

Please sign in to comment.