summaryrefslogtreecommitdiff
path: root/src/client/model
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-02-17 12:52:24 +0200
committerAlon Levy <alon@pobox.com>2015-02-17 12:52:37 +0200
commitedf91a5ab2a6afa88999403af5b11b722bb0b378 (patch)
tree9b4a24506fc1b5ddf04b172948d165d02bca6f5a /src/client/model
parent72c0463055f534c642a57b35ab17ec6c1d6c89a5 (diff)
client/server: support optimizing with require.js using node run r.js
built is controlled by property do-client-optimize which defaults to false. Even if the optimized main is built (single file main-built.js and source map file main-built.js.map) they are not used unless rhizi-config.conf client_optimize is set to True which causes app.js to use main-built.js and not main.js The resulting file is 687 KiloBytes large. Pretty scary, but it still loads faster this way. (from very small tests locally). This is without compression done by the server.
Diffstat (limited to 'src/client/model')
0 files changed, 0 insertions, 0 deletions