First of all, I want to make a system that instantly pulls some data using Laravel. For example: Think of it like Coin Prices. I want to fetch the values of 20 different coins from 5 different exchanges on every page refresh. Actually, I don't have a problem with this. My exact problem. Very Slow Receiving Data from API. Normally, the Api resource given to me opens in a short time, but while I try to pull every data, I make a query again. And it runs 5*20 100 queries on each page refresh. And Because of That I'm Getting Both Slow and Error. How Can I Solve This. So I want to take the data once and fill the table over it. I don't want to pull over and over for every transaction. I hope I was able to explain my problem. Thank you in advance for your interest and concern.
The Class I'm Using Is " Illuminate\Http\Request;"
I TryI Couldn't Do Anything About It. Sends Multiple Requests to the Same Address Every Time
Edit
The mistake I made: by writing a helper, it was reading data from the api for each data, for each point, briefly for everything. Instead of doing it directly on the blade page, I defined it in my controller and directed it to the blade page and because it calls each data once, my problem was solved, thank you everyone.