diff --git a/.gitignore b/.gitignore index aae26829..b39f2801 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ config.status* config/environments/*.js .idea .vscode +.nvmrc tools/munin/windshaft.conf logs/ pids/ diff --git a/HOWTO_RELEASE b/HOWTO_RELEASE index f6851185..b4a1c53d 100644 --- a/HOWTO_RELEASE +++ b/HOWTO_RELEASE @@ -4,8 +4,7 @@ 4. Recreate npm-shrinkwrap.json with: `make shrinkwrap` 5. Commit package.json, npm-shrinwrap.json, NEWS 6. git tag -a Major.Minor.Patch # use NEWS section as content -7. Announce on cartodb@googlegroups.com -8. Stub NEWS/package for next version +7. Stub NEWS/package for next version Versions: diff --git a/NEWS.md b/NEWS.md index aa57784b..3f99d66d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,8 +1,21 @@ # Changelog -## 2.87.6 +## 2.88.2 Released 2017-mm-dd +## 2.88.1 +Released 2017-02-21 + +Announcements: +- Upgrades camshaft to [0.50.1](https://github.com/CartoDB/camshaft/releases/tag/0.50.1) + +## 2.88.0 +Released 2017-02-21 + +Announcements: + - Upgrades camshaft to [0.50.0](https://github.com/CartoDB/camshaft/releases/tag/0.50.0). + - Upgrades cartodb-psql to [0.7.1](https://github.com/CartoDB/node-cartodb-psql/releases/tag/0.7.1). + - Upgrades windshaft to [2.7.0](https://github.com/CartoDB/windshaft/releases/tag/2.7.0). ## 2.87.5 Released 2017-02-02 @@ -17,14 +30,12 @@ Released 2017-01-20 Bug fixes: - Be able to not compute NULL categories and null values in aggregation dataviews #617. - ## 2.87.3 Released 2016-12-19 Bug fixes: - Fix overviews-related dataviews problems. See https://github.com/CartoDB/Windshaft-cartodb/pull/604 - ## 2.87.2 Released 2016-12-19 diff --git a/lib/cartodb/controllers/layergroup.js b/lib/cartodb/controllers/layergroup.js index b4cc67cc..f7215943 100644 --- a/lib/cartodb/controllers/layergroup.js +++ b/lib/cartodb/controllers/layergroup.js @@ -338,6 +338,8 @@ LayergroupController.prototype.staticMap = function(req, res, width, height, zoo LayergroupController.prototype.sendResponse = function(req, res, body, status, headers) { var self = this; + req.profiler.done('res'); + res.set('Cache-Control', 'public,max-age=31536000'); // Set Last-Modified header diff --git a/package.json b/package.json index f9a89f00..95f95121 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "windshaft-cartodb", - "version": "2.87.6", + "version": "2.88.2", "description": "A map tile server for CartoDB", "keywords": [ "cartodb"