How can I prevent refetching

Hi guys I am using the tanstack with trpc but currently it refetches if I revisit the page, is there a way to prevent that?
Currently fetching like this:

const Game = () => {
  const { data: movies } = trpc.movie.getAll.useQuery();
  const { data: possibleAnswers } = trpc.movie.getThree.useQuery();
Was this page helpful?