Skip to content

Commit

Permalink
Merge branch 'pr-671' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
n1mmy committed Feb 8, 2013
2 parents 66c94bf + d4534c5 commit c208f68
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions admin/generate-dev-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
set -u

BUNDLE_VERSION=0.2.16
BUNDLE_VERSION=0.2.17
UNAME=$(uname)
ARCH=$(uname -m)

Expand Down Expand Up @@ -78,7 +78,6 @@ which npm

cd "$DIR/lib/node_modules"
npm install connect@1.9.2 # not 2.x yet. sockjs doesn't work w/ new connect
npm install gzippo@0.1.7
npm install optimist@0.3.5
npm install coffee-script@1.4.0
npm install less@1.3.3
Expand All @@ -101,6 +100,10 @@ npm install fstream@0.1.21
npm install tar@0.1.14
npm install websocket@1.0.8

# allow clientMaxAge to be set to 0:
# https://github.com/tomgco/gzippo/pull/49
npm install https://github.com/meteor/gzippo/tarball/1e4b955439

# uglify-js has a bug which drops 'undefined' in arrays:
# https://github.com/mishoo/UglifyJS2/pull/97
npm install https://github.com/meteor/UglifyJS2/tarball/9a4d0d86ed
Expand Down
2 changes: 1 addition & 1 deletion app/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ var run = function () {
var static_cacheable_path = path.join(bundle_dir, 'static_cacheable');
if (fs.existsSync(static_cacheable_path))
app.use(gzippo.staticGzip(static_cacheable_path, {clientMaxAge: 1000 * 60 * 60 * 24 * 365}));
app.use(gzippo.staticGzip(path.join(bundle_dir, 'static')));
app.use(gzippo.staticGzip(path.join(bundle_dir, 'static'), {clientMaxAge: 0}));

// read bundle config file
var info_raw =
Expand Down
2 changes: 1 addition & 1 deletion meteor
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

BUNDLE_VERSION=0.2.16
BUNDLE_VERSION=0.2.17

# OS Check. Put here because here is where we download the precompiled
# bundles that are arch specific.
Expand Down

0 comments on commit c208f68

Please sign in to comment.