Problems with Google Cache

Asked

Viewed 1,437 times

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.

  • @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.

  • 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.

2 answers

0

If the Cache disabled did not work I will guide to clean the cache manually or even use an extension to clear the cache always as the Cache Killer.

  • Okay, I’m having trouble installing the cache killer here. I already talked to the guys who run it, because Chrome here at the company has a lot of restrictions, unlike IE. But as soon as the guys give permission to install it, I’ll run the tests and if it works out, post the result and close the post.

  • I don’t know if this is about everything, but every time I reset the machine, when I test it doesn’t work. But after a few minutes, after restarting, it works. I observed this for the second time, coincidence or not, I put it as a subsidy to try to solve the problem I have here. It sounds bizarre, but this is the second time I’ve seen the machine reboot twice.

  • You can then manually clean each time as I indicated.

  • How to clean manually? With Ctrl+F5? This way it doesn’t work. It only works by restarting.

  • 1

    @pnet Vi who posted clean manually, try control+R

0

the problem is solved, but one thing I can’t understand. Maybe it was already so and only now I noticed. The following: I give Ctrl+R, Ctrl+F5, Recarregar and nothing. Well, I did it yesterday and nothing worked, continued with the file . js not updated. Well, after about 20min I noticed that it worked. I did another update on the file and did all this process and did not update. Then I remembered this waiting, I left it there and after about 30 minutes, I went to test and it worked. Today the same thing happened, so something I don’t know what’s like, "locking" the update and then, I don’t know what, it works. Perhaps it is possible that you do not even need to download cache, that is, after a while the browser itself recognizes the changes. It sounds strange, but that’s what’s happening here. Just wait for it to start again. All of this without restarting the machine. Closed case.

  • This can be server-side caching, or proxy caching if your network uses some kind of proxy.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.