Skip to content

Commit e7419d8

Browse files
joshuaspenceepriestley
authored and
epriestley
committedApr 10, 2014
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
1 parent 3e0b3a1 commit e7419d8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
 

‎conf/default.conf.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@
980980

981981
// Minify static resources by removing whitespace and comments. You should
982982
// enable this in production, but disable it in development.
983-
'celerity.minify' => false,
983+
'celerity.minify' => true,
984984

985985
// You can respond to various application events by installing listeners,
986986
// which will receive callbacks when interesting things occur. Specify a list

‎conf/development.conf.php

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44

55
'phabricator.developer-mode' => true,
66
'darkconsole.enabled' => true,
7+
'celerity.minify' => false,
78

89
) + phabricator_read_config_file('default');

‎src/applications/config/option/PhabricatorDeveloperConfigOptions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function getOptions() {
9797
"This option enables verbose error reporting (stack traces, ".
9898
"error callouts) and forces disk reads of static assets on ".
9999
"every reload.")),
100-
$this->newOption('celerity.minify', 'bool', false)
100+
$this->newOption('celerity.minify', 'bool', true)
101101
->setBoolOptions(
102102
array(
103103
pht('Minify static resources.'),

0 commit comments

Comments
 (0)
Failed to load comments.