]> git.evergreen-ils.org Git - Evergreen.git/commit
OPAC JS combation and compression enhancements
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Dec 2010 22:16:24 +0000 (22:16 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Dec 2010 22:16:24 +0000 (22:16 +0000)
commite0654bbe073b1eff21becd4faa47008ddab6d1ad
tree5e5bb626d3ac40b6003b24e83c8cbf03162019d9
parent158ab4d67528f02a3a85b8798eadc0cb3a5c7921
OPAC JS combation and compression enhancements

Added ability to combine locale-independent common JS files
(opac/common/js/) into a single JS file to reduce http back/forth from
the browser.  In the default skin, this combines 10 scripts into 1.  The
scripts to combine are parsed from js_common.xml (enclosed by START/END
COMPRESSION comments).  The combined file is created by autogen.  Use of
the combined file is enabled via new Apache configuration (off by
default).  When a JS compressor is configured in autogen, the JS file
will be subsequently compressed.

Also includes better IDL2js loader for My Account, which loads
additional fieldmapper classes.

TODO:
Add ./configure param for setting a JS compressor at build time
Options for providing compressed versions of other JS files

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18905 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/src/extras/autogen.sh
Open-ILS/web/opac/skin/default/xml/common/js_common.xml