Skip to content

Commit

Permalink
Add HTTP Caching to React Application
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjalbert committed Jul 4, 2018
1 parent 802dcc0 commit 5cbb630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-graphql/src/index.js
Expand Up @@ -11,7 +11,7 @@ import App from './components/App';
import './index.css';

const client = new ApolloClient({
link: createPersistedQueryLink().concat(
link: createPersistedQueryLink({ useGETForHashedQueries: true }).concat(
createHttpLink({ uri: 'http://localhost:5000/graphql' })
),
cache: new InMemoryCache(),
Expand Down

0 comments on commit 5cbb630

Please sign in to comment.