Cross-posted at Stackoverflow <https://serverfault.com/questions/936873/nginx-optimizing-server-response-time-for-a-http-cached-website>
I have a website with all of the pages served from nginx’s http cache and rarely invalidated or expired. The average total page download size is around 2 MB But despite being a static site with no funny logic my server response is around a second https://d.pr/NUxu2a I recorded nginx’s $request_time and it comes to around 400 milliseconds from the server https://d.pr/HGhZZy and each file at 20-30 KB average https://d.pr/kSSUkB 400 millisecond seems to be absurd. I am behind *Cloudflare* and sendfile on; tcp_nopush off; tcp_nodelay on; keepalive_timeout 300s; keepalive_requests 10000; What should I be doing to bring down the response time to the 150-millisecond range? - Quintin
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx