2 session.storage.options:
3 # Default ini options for sessions.
5 # Some distributions of Linux (most notably Debian) ship their PHP
6 # installations with garbage collection (gc) disabled. Since Drupal depends
7 # on PHP's garbage collection for clearing sessions, ensure that garbage
8 # collection occurs by using the most common settings.
14 # Set session lifetime (in seconds), i.e. the time from the user's last
15 # visit to the active session may be deleted by the session garbage
16 # collector. When a session is deleted, authenticated users are logged out,
17 # and the contents of the user's $_SESSION variable is discarded.
19 gc_maxlifetime: 200000
21 # Set session cookie lifetime (in seconds), i.e. the time from the session
22 # is created to the cookie expires, i.e. when the browser is expected to
23 # discard the cookie. The value 0 means "until the browser is closed".
25 cookie_lifetime: 2000000
27 # Drupal automatically generates a unique session cookie name based on the
28 # full domain name used to access the site. This mechanism is sufficient
29 # for most use-cases, including multi-site deployments. However, if it is
30 # desired that a session can be reused across different subdomains, the
31 # cookie domain needs to be set to the shared base domain. Doing so assures
32 # that users remain logged in as they cross between various subdomains.
33 # To maximize compatibility and normalize the behavior across user agents,
34 # the cookie domain should start with a dot.
37 # cookie_domain: '.example.com'
42 # When debugging is enabled:
43 # - The markup of each Twig template is surrounded by HTML comments that
44 # contain theming information, such as template file name suggestions.
45 # - Note that this debugging markup will cause automated tests that directly
46 # check rendered HTML to fail. When running automated tests, 'debug'
47 # should be set to FALSE.
48 # - The dump() function can be used in Twig templates to output information
49 # about template variables.
50 # - Twig templates are automatically recompiled whenever the source code
51 # changes (see auto_reload below).
53 # For more information about debugging Twig templates, see
54 # https://www.drupal.org/node/1906392.
56 # Not recommended in production environments
61 # Automatically recompile Twig templates whenever the source code changes.
62 # If you don't provide a value for auto_reload, it will be determined
63 # based on the value of debug.
65 # Not recommended in production environments
70 # By default, Twig templates will be compiled and stored in the filesystem
71 # to increase performance. Disabling the Twig cache will recompile the
72 # templates from source each time they are used. In most cases the
73 # auto_reload setting above should be enabled rather than disabling the
76 # Not recommended in production environments
80 # Renderer required cache contexts:
82 # The Renderer will automatically associate these cache contexts with every
83 # render array, hence varying every render array by these cache contexts.
85 # @default ['languages:language_interface', 'theme', 'user.permissions']
86 required_cache_contexts: ['languages:language_interface', 'theme', 'user.permissions']
87 # Renderer automatic placeholdering conditions:
89 # Drupal allows portions of the page to be automatically deferred when
90 # rendering to improve cache performance. That is especially helpful for
91 # cache contexts that vary widely, such as the active user. On some sites
92 # those may be different, however, such as sites with only a handful of
93 # users. If you know what the high-cardinality cache contexts are for your
94 # site, specify those here. If you're not sure, the defaults are fairly safe
97 # For more information about rendering optimizations see
98 # https://www.drupal.org/developing/api/8/render/arrays/cacheability#optimizing
99 auto_placeholder_conditions:
100 # Max-age at or below which caching is not considered worthwhile.
102 # Disable by setting to -1.
106 # Cache contexts with a high cardinality.
108 # Disable by setting to [].
110 # @default ['session', 'user']
111 contexts: ['session', 'user']
112 # Tags with a high invalidation frequency.
114 # Disable by setting to [].
118 # Cacheability debugging:
120 # Responses with cacheability metadata (CacheableResponseInterface instances)
121 # get X-Drupal-Cache-Tags and X-Drupal-Cache-Contexts headers.
123 # For more information about debugging cacheable responses, see
124 # https://www.drupal.org/developing/api/8/response/cacheable-response-interface
126 # Not recommended in production environments
128 http.response.debug_cacheability_headers: false
131 # Default key/value storage service to use.
132 # @default keyvalue.database
133 # default: keyvalue.database
134 # Collection-specific overrides.
135 # state: keyvalue.database
136 factory.keyvalue.expirable:
138 # Default key/value expirable storage service to use.
139 # @default keyvalue.database.expirable
140 # default: keyvalue.database.expirable
141 # Allowed protocols for URL generation.
157 # Configure Cross-Site HTTP requests (CORS).
158 # Read https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
159 # for more information about the topic in general.
160 # Note: By default the configuration is disabled.
163 # Specify allowed headers, like 'x-allowed-header'.
165 # Specify allowed request methods, specify ['*'] to allow all possible ones.
167 # Configure requests allowed from specific origins.
168 allowedOrigins: ['*']
169 # Sets the Access-Control-Expose-Headers header.
170 exposedHeaders: false
171 # Sets the Access-Control-Max-Age header.
173 # Sets the Access-Control-Allow-Credentials header.
174 supportsCredentials: false