Client Side vs Server Side When GET data from API
I'm retrieving data from a movie API. Now i can either do this in on client side (jQuery) or can make the http get call on the server side (Node.js). Is there a best practice in doing this? Is one option faster than the other? (I'm towards server side as I can hide my API key) but interested to know for certain. Is there a best practice in doing this? Not a general one Is one option faster than the other? Doing it server side allows results to be cached and shared between multiple clients. This might be faster. Doing it server side allows the client to make one fewer HTTP requests. This might