GraphQL Caching with GraphCDN

Make your GraphQL API faster with caching using GraphCDN. Monitor API health with error monitoring, and alerts, as well as analytics for operations made to your endpoint.

query {
  cart(id: "graphcdn") {
    id
    totalItems
    items {
      id
      name
      unitTotal {
        amount
        formatted
      }
      lineTotal {
        amount
        formatted
      }
    }
    grandTotal {
      amount
      formatted
    }
  }
}
mutation {
  addItem(
    input: {
      cartId: "graphcdn"
      id: "item-id-1"
      name: "GraphCDN T-Shirt"
      description: "As worn by Max"
      images: ["graphcdn-tee-white-front.png", "graphcdn-tee-white-back.png"]
      price: 1590
    }
  ) {
    id
    isEmpty
    abandoned
    totalItems
    totalUniqueItems
    items {
      id
      name
      quantity
      images
      unitTotal {
        amount
        formatted
      }
      lineTotal {
        amount
        formatted
      }
    }
    subTotal {
      formatted
    }
  }
}
Jamie Barton

Published on 7 Mar 2022 by Jamie Barton