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