diff --git a/src/js/graphql/ServerClient.ts b/src/js/graphql/ServerClient.ts index 7884ac994..41f5f3a3f 100644 --- a/src/js/graphql/ServerClient.ts +++ b/src/js/graphql/ServerClient.ts @@ -11,8 +11,7 @@ export const { getClient } = registerApolloClient(() => { return new ApolloClient({ cache: new InMemoryCache(), link: new HttpLink({ - uri, - fetchOptions: { cache: 'no-store' } + uri }) }) }) diff --git a/src/js/graphql/contribAPI.ts b/src/js/graphql/contribAPI.ts index ba4cb7749..2dcb5f4ec 100644 --- a/src/js/graphql/contribAPI.ts +++ b/src/js/graphql/contribAPI.ts @@ -6,7 +6,7 @@ export const getChangeHistoryServerSide = async (): Promise => try { const rs = await getClient().query<{ getChangeHistory: ChangesetType[] }>({ query: QUERY_RECENT_CHANGE_HISTORY, - fetchPolicy: 'cache-first' + fetchPolicy: 'no-cache' }) if (Array.isArray(rs.data?.getChangeHistory)) {