Answer the question
In order to leave comments, you need to log in
Are there network delays for asynchronous requests within the same VPS?
I am working on a global redesign of the customer's online store.
The customer really liked the idea of implementing the site as a single-page application with SSR (so as not to lose SEO).
I use Nuxt.js to implement SSR. The
backend of the current site is Wordpress. It will not be possible to refuse it due to the large number of flooded goods and the banal unwillingness of the customer to change it to something else.
It turns out that the new backend will have to consist of 2 separate "ecosystems" - Node.js for SSR and Wordpress as an API.
The problem arises in the fact that the first time the page is rendered, requests are almost certainly made to Wordpress using Axios. And while the request is not completed - the page is in the loading state, and the user sees a white screen in front of him.
The question arises - are there network delays for asynchronous requests within the same VPS and, if so, how could they be minimized.
PS - maybe, of course, I'm doing something completely wrong. In this case, please point out my mistake to me and, if possible, offer your own solution to the problem of linking NuxtJS and Wordpress.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question