Recently, we have encountered a very strange but very consistent delay in sending mail from client javascript to our server.
Here is our technology stack, front and back:
http://
unix://
(Side note: Do you ever just step back from how complicated web development is?)
Here's the timeline:
.save()
APIModel
.sync()
client.send()
$.ajax()
Location
xhr
$.Deferred()
:
console.time()
, :
, , , , , :
# 3. ?
! Content-Length, , , . @MaxDounin , .
Content-Length
Django django.middleware.http.ConditionalGetMiddleware . ( Content-Length.)
django.middleware.http.ConditionalGetMiddleware