'Lighthouse: increase my website performance

I did the lighthouse test on my website the report shows some issues but I don't know where to start to fix these issues

I see one of the issues fix to enabling text comparison

I am using Angular.JS with gulp my backend Node.js

I tried using https://www.npmjs.com/package/compression but nothing changed

function shouldCompress(req, res) {
  if (req.headers['x-no-compression']) {
    // don't compress responses with this request header
    return false;
  }

  // fallback to standard filter function
  return compression.filter(req, res);
}
app.use(compression({ filter: shouldCompress }));

enter image description here

enter image description here

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source