astrofy
astrofy copied to clipboard
How to reset cache?
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?
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)
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.
@sergio-gn What hosting service do you use?
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.