Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15389624
D8743.id20756.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8743.id20756.diff
View Options
diff --git a/conf/default.conf.php b/conf/default.conf.php
--- a/conf/default.conf.php
+++ b/conf/default.conf.php
@@ -980,7 +980,7 @@
// 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
diff --git a/conf/development.conf.php b/conf/development.conf.php
--- a/conf/development.conf.php
+++ b/conf/development.conf.php
@@ -4,5 +4,6 @@
'phabricator.developer-mode' => true,
'darkconsole.enabled' => true,
+ 'celerity.minify' => false,
) + phabricator_read_config_file('default');
diff --git a/src/applications/config/option/PhabricatorDeveloperConfigOptions.php b/src/applications/config/option/PhabricatorDeveloperConfigOptions.php
--- a/src/applications/config/option/PhabricatorDeveloperConfigOptions.php
+++ b/src/applications/config/option/PhabricatorDeveloperConfigOptions.php
@@ -97,7 +97,7 @@
"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.'),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 5:31 AM (5 d, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7706033
Default Alt Text
D8743.id20756.diff (1 KB)
Attached To
Mode
D8743: Set `celerity.minify` true in production environments.
Attached
Detach File
Event Timeline
Log In to Comment