Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

For 304 status code from services the gateway takes a long time to return response

I've implemented supporting If-Modified-Since header for my APIs (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since) within my web service and do notice that for the cases where the response had empty body esp., with status code 304 the gateway was responding after 6000ms 😞 Not sure what can be done at the gateway policy to circumvent this

0 2 934
2 REPLIES 2