Over-Fetching or Under-fetching?

November 22, 2021

Over-fetching

Over-fetching occurs when you retrieve more data than needed in an API response. This means you're getting data fields that won't be used in your application.

Under-fetching

Under-fetching happens when a single API endpoint doesn't provide enough data, requiring additional API calls to get all needed information.

Reference:

#API #Performance #GraphQL #REST