Hello everyone!
I'm having this weird situation that I can't seem to pinpoint but maybe you could.
I'm using Nginx as a proxy and cache upstreaming to Apache and PHP.
and when I make a request to a file (both dynamic or static), the response takes about 60ms to generate IF the response is smaller than 14kb. If the resulting response is greater than 14kb, the response time from Nginx almost doubles (~115ms).
I looked at all my directives and tried to change everything but with no luck.
It's almost that if the response is less than a certain byte length, it passes it directly to the client, whereas if it's greater than that, it writes it to a file first, but I can't find what controls this. Generally I would like to raise that threshold....
Would you know how to solve this challenge?
-Sergey
I'm having this weird situation that I can't seem to pinpoint but maybe you could.
I'm using Nginx as a proxy and cache upstreaming to Apache and PHP.
and when I make a request to a file (both dynamic or static), the response takes about 60ms to generate IF the response is smaller than 14kb. If the resulting response is greater than 14kb, the response time from Nginx almost doubles (~115ms).
I looked at all my directives and tried to change everything but with no luck.
It's almost that if the response is less than a certain byte length, it passes it directly to the client, whereas if it's greater than that, it writes it to a file first, but I can't find what controls this. Generally I would like to raise that threshold....
Would you know how to solve this challenge?
-Sergey