A
A
andreyAmaterasu2020-08-17 17:46:53
Django
andreyAmaterasu, 2020-08-17 17:46:53

Will the data in the Django page of the template received with VueJS be rendered on the server side?

Let's say I need to create an online store, if I use the standard Django templates for pages, I get product data from the API using Axios using the Django Rest Framework, then in this case this data will be rendered on the server side? If I'm not mistaken, Django templates are rendered on the server side, but will this also work when receiving data from the API using the js framework. I just mean that will such pages be indexed by robots?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-08-17
@bacon

No, they will be rendered on the client side. Search engines claim that they can index such things, but in fact it turns out that they are not very good at it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question