# Deferred Fields
WARNING
Currently the @defer
directive requires Apollo Client in alpha,
although there has been talk of merging some pending PRs after the GraphQL Summit which starts today.
Deferring fields allows you to prioritize fetching data needed to render the most important content as fast as possible, and then loading the rest of the page in the background.
Lighthouse's DeferExtension
adds support for the experimental @defer
directive
provided by Apollo which you can read more about here (opens new window).
# Setup
Add the service provider to your config/app.php
'providers' => [
\Nuwave\Lighthouse\Defer\DeferServiceProvider::class,
],
(image from https://blog.apollographql.com/introducing-defer-in-apollo-server-f6797c4e9d6e (opens new window))