Permalink
Browse files

Add HTTP Caching to React Application

  • Loading branch information...
kevinjalbert committed Jul 4, 2018
1 parent 802dcc0 commit 5cbb630c4780d20bc2747b0b62035a3702e87a3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 react-graphql/src/index.js
@@ -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(),

0 comments on commit 5cbb630

Please sign in to comment.