diff options
author | Byron Jones <glob@mozilla.com> | 2014-09-17 18:28:09 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-09-17 18:28:09 +0200 |
commit | 1bead98c517f658b17d42f2f79d8ce80317a7040 (patch) | |
tree | 16b569221a7d8b5124f92290f6be11122e6f2c14 /Bugzilla/Constants.pm | |
parent | 2288b4680c04ec00bff02179de926fdfbd896c79 (diff) | |
download | bugzilla-1bead98c517f658b17d42f2f79d8ce80317a7040.tar.gz bugzilla-1bead98c517f658b17d42f2f79d8ce80317a7040.tar.xz |
Bug 1064395: concatenate and slightly minify javascript files
r=dkl,a=glob
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 397a8e65f..97f4874b5 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -26,6 +26,8 @@ use Memoize; bz_locations + CONCATENATE_ASSETS + IS_NULL NOT_NULL @@ -210,6 +212,11 @@ use constant REST_DOC => "http://www.bugzilla.org/docs/tip/en/html/api/"; use constant REMOTE_FILE => 'http://updates.bugzilla.org/bugzilla-update.xml'; use constant LOCAL_FILE => 'bugzilla-update.xml'; # Relative to datadir. +# When true CSS and JavaScript assets will be concatanted and minified at +# run-time, to reduce the number of requests required to render a page. +# Setting this to a false value can help debugging. +use constant CONCATENATE_ASSETS => 1; + # These are unique values that are unlikely to match a string or a number, # to be used in criteria for match() functions and other things. They start # and end with spaces because most Bugzilla stuff has trim() called on it, |