Thank you for such an answer.
I have another question that does not give me peace.
I understood the fact that we use Ajax to receive data.
if we compare getting data in a JSON file using yaks and for example if we create a JS code (main.js to data.js) that will return data.
Will it affect performance?
I have such a situation.
I want to store data about objects in a json file, so pull this data up.
I want to understand which method is the best.