TekkenChicken / chicken-server

Backend for Tekken Chicken app
2 stars 2 forks source link

Add nginx in front of node for first level cache and gzip compression #10

Closed bdickason closed 7 years ago

bdickason commented 7 years ago

This seems like the first step to reduce load on our server. There's a basic guide here for how to do this: http://blog.argteam.com/coding/hardening-node-js-for-production-part-2-using-nginx-to-avoid-node-js-load/

bdickason commented 7 years ago

Working on this now

bdickason commented 7 years ago

nginx is up and running on port 3002 of bdickason.com. Need to make a small modification to node to pass through proper cache headers

bdickason commented 7 years ago

Client side change to support this: https://github.com/ndejesus1227/t7-chicken-native/pull/50