I read this not very new post about disabling some things in sails.js. Specifically what I would like to try out is the disabling of etags.
Does anyone know how to disable that in sails.js (0.11.0)?
You could disable it in the bootstap.js
file:
// config/bootstrap.js
module.exports.bootstrap = function(cb) {
// Add this line to access to the Express app and disable etags
sails.hooks.http.app.disable('etag');
// It's very important to trigger this callback method when you are finished
// with the bootstrap! (otherwise your server will never lift, since it's waiting on the bootstrap)
cb();
};