1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-19 00:38:51 +02:00

Set celerity.minify true in production environments.

Summary: I haven't been able to understand why this isn't set by default in production environments (since it is recommended to do so anyway).

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8743
This commit is contained in:
Joshua Spence 2014-04-10 14:38:23 -07:00 committed by epriestley
parent 3e0b3a1db5
commit e7419d85f7
3 changed files with 3 additions and 2 deletions

View file

@ -980,7 +980,7 @@ return array(
// Minify static resources by removing whitespace and comments. You should
// enable this in production, but disable it in development.
'celerity.minify' => false,
'celerity.minify' => true,
// You can respond to various application events by installing listeners,
// which will receive callbacks when interesting things occur. Specify a list

View file

@ -4,5 +4,6 @@ return array(
'phabricator.developer-mode' => true,
'darkconsole.enabled' => true,
'celerity.minify' => false,
) + phabricator_read_config_file('default');

View file

@ -97,7 +97,7 @@ final class PhabricatorDeveloperConfigOptions
"This option enables verbose error reporting (stack traces, ".
"error callouts) and forces disk reads of static assets on ".
"every reload.")),
$this->newOption('celerity.minify', 'bool', false)
$this->newOption('celerity.minify', 'bool', true)
->setBoolOptions(
array(
pht('Minify static resources.'),