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.
You’re gonna wanna check out a post like this
I think you’re missing a redirect rule
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:
Thank you so much, it took the redirect rules, but chrome was still working with cache, the _redirects file solved the problem. Thank you.