Reloading project breaks it

I’m making a project on Sapper (Svelte framework).
I did the export correctly, on my pc is working locally.

When I load the site without cache (first time, in incognito or with ctrl+f5) is working, when I reload site normally it brokes itself.

It seems there’s a cache problem or something related.

https://focused-allen-2b0955.netlify.app/

I can’t understand why.
Thank you.

You’re gonna wanna check out a post like this :smiley:

I think you’re missing a redirect rule :slight_smile:

1 Like

I tried to insert _redirects file but it doesn’t work, I tried it also on a simple webserver without CDN and it works, could it be the CDN?

Did you insert it in the correct directory? Hosting React js application - Routing is not working

There are other things to try:

https://dev.to/rajeshroyal/page-not-found-error-on-netlify-reactjs-react-router-solved-43oa

1 Like

Thank you so much, it took the redirect rules, but chrome was still working with cache, the _redirects file solved the problem. Thank you.

Awesome, glad it worked! :smiley:

1 Like