Imagine building a single-page application that relies heavily on client-side interactions communicating with the server through API methods. When we land on the index page that displays all records from the database, we essentially make two initial requests - one to load all the client-side components and another to fetch JSON data from the server. Only after these two requests are completed does everything run smoothly. Therefore, my question is: what is the optimal approach in this situation? Should we preload data during the initial request to avoid making an additional request right away or something else entirely?