Weird ISR Issue
Unanswered
Dwarf Hotot posted this in #help-forum
Dwarf HototOP
Hey, I export a few fetch functions in my app that use the invalidate option in the Fetch API. However, everything is exported as a static page upon build. Is that okay?
15 Replies
Dwarf HototOP
what happens after removing these funtions?
Dwarf HototOP
Just about to try it, one sec.
I'll replace them with an empty array and build.
And btw are you using app router? You might exposed server side code to the client, causing the incredible size of js
Dwarf HototOP
I am using the app router, yes.
You might exposed server side code to the client, causing the incredible size of jsWhat could have caused it?
Alright, no fetches on /.
And I still get 677 kB.
Dwarf HototOP
Is it that bad?
Very bad, it’s almost impossible to reach for a simple landing page
I can help checking the code if you can provide a GitHub repo though