Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable compression in hapi.js?

I need to Enable "gzip" compression on the Hapi.js API endpoints to improve the performance on API data downtime and download data size. How should I enable compression in hapi.js ?

Any idea pls...

like image 847
Ramyachinna Avatar asked Oct 18 '25 07:10

Ramyachinna


1 Answers

gzip is enabled by default, so look no further, inspect your headers

like image 87
Thomas E Avatar answered Oct 20 '25 09:10

Thomas E



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!