• p15h

    (@prestonwordsworth)


    Cache Warmer is currently sending lots of 500k+ responses (size after compression) via Ajax that have to be buffered to disk (which is slow)

    an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/4/43/0000001434 while reading upstream client request: “POST /wp-admin/admin-ajax.php HTTP/2.0” upstream: “https://unix:/run/nginx.sock:/wp-admin/admin-ajax.php”

    Can such requests be optimised?

Viewing 1 replies (of 1 total)
  • Thread Starter p15h

    (@prestonwordsworth)

    A quick follow-up:

    1. My statement about 500k+ response was found to be incorrect on double-checking the logs. It was in the neighbourhood of 150k.
    2. This still exceeds nginx’s default proxy_buffers 8 4k; by a lot. Of course, as a last resort, one can always increase proxy_buffers, but I’m wondering if it is absolutely necessary for this plugin to emit 150k responses.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.