Go to content

Getting started with GraphQL and caching on Next.js + Apollo + Layer0 - Tristan Lee

GraphQL Galaxy 2021 #GraphQLGalaxy #GraphQL #GitNation Website – https://graphqlgalaxy.com/ Follow the link to watch the full version of all the conference talks, QnA’s with speakers and hands-on workshop recordings β†’ https://portal.gitnation.org/events/graphql-galaxy-2021 Talk: Getting started with GraphQL and caching on Next.js + Apollo + Layer0 Caching GraphQL has been a longstanding bugbear for the ecosystem. Traditional CDNs only cache GET requests so GraphQL's use of POST for queries typically requires bandaids in order to get performant responses at scale...until now. In this talk, we'll walk through converting a REST API to GraphQL using the popular Next.js framework, Apollo Server, and Layer0 by Limelight, an integrated platform for modern web hosting. We'll then add caching to this GraphQL API using Layer0 EdgeJS, a JavaScript based, declarative language for edge logic. This event would not take place without the support of sponsors: πŸ† Platinum Sponsors The Graph β†’ https://thegraph.com/en/ GraphCMS β†’ graphcms.com Neo4j β†’ https://neo4j.com/ πŸ₯‡ Gold Sponsors StackHawk β†’ https://www.stackhawk.com/ Layer0 β†’ www.layer0.co GraphCDN β†’ https://graphcdn.io/ Shopify β†’ https://shopify.engineering Yugabyte β†’ https://www.yugabyte.com/ NeuraLegion β†’ https://www.neuralegion.com/ StepZen β†’ https://stepzen.com/ Tyk β†’ https://tyk.io/ Apollo β†’ https://www.apollographql.com/ Fauna β†’ https://fauna.com/ Nhost β†’ https://nhost.io/ πŸ₯ˆ Silver Sponsors Stream β†’ https://getstream.io/

December 9, 2021