title: apollo-link-dedup description: Deduplicate matching requests before making a request
NOTE This link is included by default when using apollo-client so you don't need to add it to your link chain if using apollo-client.
Installation
npm install apollo-link-dedup --save
Usage
; const link = ;
Options
The Dedup Link does not take any options when creating the link.
Context
The Dedup Link can be overridden by using the context on a per operation basis:
forceFetch
: a true or false (defaults to false) to bypass deduplication per request
;;; const client = link: cache: ; // a query with apollo-client that will not be dedupedclient