I’m trying to replicate some functionality which looks similar with the process of adding comments on SO. I’m using jQuery AJAX post: $.post(), but the process of adding a comment take longer on my machine than on SO.
I assume that SO uses a much smarter approach. Do you know how SO does comments add/edit?
Your machine is almost certainly far inferior to stackoverflow servers! Look in your web dev tools for a request made by stackoverflow and compare it to one you make. You’ll find they are likely very similar.