M
M
mishapsv2017-05-24 00:10:20
JavaScript
mishapsv, 2017-05-24 00:10:20

How to remove the delay when requesting the server through AJAX?

Making an ajax request.
The request itself on the server is fast, but there is a delay in receiving data (half a second).
Those. cards open with a noticeable delay.
Is there any way to do instant open without using sockets?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Decadal, 2017-05-24
@Decadal

You can first unload all the cards as a js object when rendering the page, and then instead of ajax just render the desired object

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question