app.disable('etag') syntax to disable the etag generation in Next.js. But, this may not work for all static contents. So, we should use the following syntax to disable the etag for all static contents.app.use(express.static(path.join(__dirname, 'public'), {
etag: false
}));