cozy-home-v2 icon indicating copy to clipboard operation
cozy-home-v2 copied to clipboard

Consider upgrading americano

Open ZeHiro opened this issue 9 years ago • 4 comments

The used version of americano (0.3.11) is old, and require version 4.4.0 of express.js. But this version of express has a bug concerning cache-control header (max-age is not properly set, the cache is not effective). Version 4.4.1 fixes it. See change log here :

https://github.com/strongloop/express/blob/master/History.md

It should be the same for all cozy applications ...

ZeHiro avatar Jun 24 '15 12:06 ZeHiro

Thanks for noticing @ZeHiro. @aenario, any opinion ?

clochix avatar Jun 24 '15 15:06 clochix

To avoid incompatibilities, creating a new minor version of americano (0.3.x) changing only the version of express with the 4.4.1 one should fit (i dind't test ). This would enhance loading time a'd server load.

ZeHiro avatar Jun 24 '15 18:06 ZeHiro

Well, my caching problems don't seem to come from there, but from gzip of static files.

ZeHiro avatar Jun 24 '15 19:06 ZeHiro

Should be done anyway.

aenario avatar Jun 24 '15 20:06 aenario