Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to reset cache? #37

Open
sergio-gn opened this issue Sep 8, 2023 · 4 comments
Open

How to reset cache? #37

sergio-gn opened this issue Sep 8, 2023 · 4 comments

Comments

@sergio-gn
Copy link
Contributor

When I tried to change my profile image, I used the same name to replace it.
On the code the image was replaced, but on the website it wasn't. I had to change the file name on the code and on the file.
Is it possible to simply reset the cache? If not, where did the old image that I was seeing went?

@manuelernestog
Copy link
Owner

Hi @sergio-gn. This is strange, the image should have been replaced. It occurs to me that perhaps the service where you are hosting the page has a long caching time for images, if so this is reflected in the browser according to the default time that your service has defined.

Try refreshing your browser's cache (control + F5 in many)

@sergio-gn
Copy link
Contributor Author

Hey, thanks for responding!
Well, It's indeed strange, I've seen some cache files, that's why I opened the discussion here. This issue happened on development environment, normal VS Code + Local Host 3000.
I tried to restart, Ctrl C to close the server on terminal, npm run dev again, and nothing.

@GrungeElFz
Copy link
Contributor

@sergio-gn What hosting service do you use?

@manuelernestog
Copy link
Owner

Base on this error and the other issue you opened, I think this should be a problem of your environment. Try updating to node 18 at least and remove your node_modules folder and try reinstalling the packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants