Next.js Discord

Discord Forum

Why is my app caching too much in development mode?

Answered
Somali posted this in #help-forum
Open in Discord
SomaliOP
I can only change the class name and the changes are not applied, but hrm works (ctrl + f5) does not help.
Sometimes restarting the application helps, how can I fix this?
I can't do minimal playback because this only happens in large applications
Answered by Somali
Okay i solver it, for some reason my file with name Sidebar.jsx
read like SIdebar.jsx (Big i) , idk why, may be some vscode problems
View full answer

13 Replies

That is really weird
are you using npm run dev?
also what version of next are you using?
@Clown are you using `npm run dev`?
SomaliOP
yes,
"next": "13.4.19",
Im not sure how much help this will be, but use the latest instead, delete the .next dir too. The do npm update
@Clown Im not sure how much help this will be, but use the `latest` instead, delete the .next dir too. The do `npm update`
SomaliOP
i also delete .next dir and that help for one time
i also remove next auth, anyway
Okay, this not works only in my 'Sidebar' client component/
In page.js all works good
I have this structure
SomaliOP
this is my console
SomaliOP
Okay i solver it, for some reason my file with name Sidebar.jsx
read like SIdebar.jsx (Big i) , idk why, may be some vscode problems
Answer