You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The response size of the API is for one meme is around 600-800 bytes.
I am not sure if turning on GZIP on this small of a response will have any real-life effect as the Maximum transmission unit (MTU) is around 1500 bytes, so even if you compress your 800 bytes to 500 bytes using GZIP, the transmission will take one complete MTU so you will technically be wasting CPU resources on nothing.
It might have some actual effect when you are requesting 100-1000 memes at once but I am not sure what percentage of calls made to this API would fall in this category
Hey,
Can you turn on GZIP compression for the server ? will reduce the payload size and might help in latency as well.
I can help out if you want :)
The text was updated successfully, but these errors were encountered: