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.

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:

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