I'm curious as to people's thoughts on best practice for API calls. Do you tend to perform the call on the widget or on page load? I was thinking if I performed the call on page load I could store the data in a local variable to prevent additional calls from being made.
API call on page load or widget?
Database & APIs
I use caching today, which seems to perform largely the same function, but I was wondering if anyone had advice on the best way to approach it. I seem to experience a really high number of calls if I don't have caching enabled.
Yes
1 reply