Performance: Change theme signature check to be done only when necessary at runtime in a production environment

This commit is contained in:
Molkobain
2021-04-25 14:00:07 +02:00
parent d5d3a7af47
commit cbc5bb70d0
2 changed files with 60 additions and 4 deletions

View File

@@ -1407,6 +1407,14 @@ class Config
'source_of_value' => '',
'show_in_conf_sample' => false,
],
'theme.force_signature_check_at_runtime' => [
'type' => 'bool',
'description' => 'If true, checking that the current theme signature matches the compiled file -to recompile it if necessary- will be done for each page. This can slow the application, only use it if you are experiencing issues while customizing a theme.)',
'default' => false,
'value' => false,
'source_of_value' => '',
'show_in_conf_sample' => false,
],
];
public function IsProperty($sPropCode)