1
I’m making some changes to a site and these changes involve Classic ASP and Javascript pages. What you are going through is that I always change the javascript, save and play it on my server it does not update. It overwrites the old, but when I use the changes made it continues referencing the previous version. To solve this I always have to restart the machine, then yes, the changes made are used. As I always work with Chrome Dev Tools open, I checked the option Cache Disabled
, but it still didn’t work, just restarting the machine. Does anyone know what I have to do to solve this problem that bothers me? Restarting a machine today, I require at least 5 to 20 min, doing it 10 to 15 times a day, that’s a very big lost time.
I don’t know how to help you with the cache, but a little gambit so you don’t have to restart all the time is every time you update your js to change its name, and on the page that references it too.
– Joao Paulo
@Joaopaulo, no way. You have no idea the size of this here and several sites, which are at my disposal uses this and other files. It’s very big. Just to give you an idea, we moved a module in ASP, but there’s Java, Asp.Net. It’s a snake’s nest here. We sometimes have to duplicate files, because we have no way to change a page, because many of them are called in various places. There’s no way to think about it.
– pnet
I wouldn’t advise it either. But I already did and then went back to the original name because there was no way the code updated.
– Joao Paulo