question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get compression working

See original GitHub issue

Added compression at the top

import compression from ‘compression’;

app.use(compression());
app.use(express.static(path.join(__dirname, 'public')));
app.use(cookieParser());
app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json());

still not getting compressed. Why ?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
itaied246commented, Oct 16, 2016

Found this answer. Works for me.

0reactions
langpavelcommented, May 14, 2017

If you discover that it is related to RSK, please reopen. Anyway keep us informed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top Causes of Low Engine Compression and How to Fix Them
If you are getting no compression at all in your cylinders, you probably have a bad timing belt or a broken camshaft. Now...
Read more >
Help – I can't get these compression socks on (or off)!
I have been working with patients who have Lymphedema and are required to wear high amounts of compression. It's a struggle to get...
Read more >
How to alleviate swelling if I can't wear compression stockings
Compression bandaging is another option, as it can be applied with very light pressure/support. However, bandaging does need to be applied, and replaced ......
Read more >
I can't get my compression stockings on. Is there a trick ...
When you start putting them on, first just get the hose over the toes, then over the heel to set the heel, and...
Read more >
How do you know if compression socks are too tight?
One of the biggest complaints about compression socks is that they are too tight. People who wear compression socks often find them to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found