State.source has older pages saved in it

When ever I load a page or click a link in the nav it is showing me past versions of the pages from wordpress. If I refresh it will show the up to date info. Do I need to refresh the state.source somehow? I checked the state.source to see what the html looked like for each page verse what I was expecting and I came across dates being stored for each page as well (I am guessing this is when it was cashed?). I would love a little more insight on what might be happening here and if there is a way I can get more up to date info on the first page load?

This is only happening on localhost, on vercel it works just fine.

Hi @jessewburnley ,

Can you please provide a repo or code-sandbox with your code? This is especially helpful to find solutions of technical issues with specific code

Can you also record a video explaining you use case? If I’m understanding correctly your sceneario is:

  • load Frontity project locally
  • update a page in WordPress
  • go to that page by using a link in the Frontity project
  • tha page shows content previous to the update of the page in Wordpress

Is that correct?