2
I am new to web development and I have a problem that I believe is more basic, but it is causing me problems. When I change my CSS , JS or HTML and update the page in Chrome to analyze the site and see how it looks, the site continues with the old formatting. This happens sometimes, not always. But when it happens it delays me a lot.
I have tried to empty the browser cache, but it does not resolve. I updated the page several times and saved the files in the right place. But always when I inspect the elements, it differs from what I edited in my files.
How to solve this problem and how to optimize my productivity and avoid these types of problems?
I’m not an expert on this, but it is possible to stop this kind of cache through the server, for example: with PHP. If I’m not mistaken. htaccess also allows you to stop caches. If the file already has cache, then it will be better to change the site location and disable the caches. If you are doing these server-less tests it will be better to start using a local server.
– Klaider
Cltr+F5, works here....
– MagicHat