cozy-home-v2
cozy-home-v2 copied to clipboard
Consider upgrading americano
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 ...
Thanks for noticing @ZeHiro. @aenario, any opinion ?
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.
Well, my caching problems don't seem to come from there, but from gzip of static files.
Should be done anyway.