fossasia / yaydoc

Docs! Yay! http://yaydoc.org

Home Page:http://yaydoc.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use gzip to serve web pages

poonai opened this issue · comments

This is a

  • Bug report
  • Feature request
    use compression middleware to serve web pages in gzip to increase the performance

This is not something you do from yaydoc's side. This is something you do on the web server.

@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

@imujjwal96 That documentation is for people who doesn't use a reverse proxy, like NGINX, Apache, httpd.

Oh! Then i guess we can close this.