use gzip to serve web pages
poonai opened this issue · comments
Poonai commented
This is a
- Bug report
- Feature request
usecompression
middleware to serve web pages in gzip to increase the performance
Yuki Langley commented
This is not something you do from yaydoc's side. This is something you do on the web server.
Ujjwal Bhardwaj commented
@yukiisbored have a look at this. https://expressjs.com/en/advanced/best-practice-performance.html#use-gzip-compression
It is known that the core change has to be made server side, but even if we do that, it'd not work without including a middleware inside the application
Yuki Langley commented
@imujjwal96 That documentation is for people who doesn't use a reverse proxy, like NGINX, Apache, httpd.
Ujjwal Bhardwaj commented
Oh! Then i guess we can close this.