How to clear the cache in Opera 12?

Asked

Viewed 255 times

3

So, I am developing with focus on Opera 12, it has a very interesting debugger, similar to Chrome, but one thing that bothers me a lot is that refresh does not clean the browser cache, often close the tab and open a new not clean also.

Close the browser and open again, sometimes it cleans, but what is more accurate is to close it delete its cache folder, then open again. Just deleting the folder and updating does not work, it creates a new cache equal to the page that was loaded before.

Does anyone know how to disable the caching of scripts loaded in Opera 12?

  • Have you tried "Ctrl + F5"? I’m not sure if this shortcut is valid in Opera 12, but try there.

  • @Lucasnunes already had yes, practically all combinations on the keyboard that you can imagine hehe, from Ctrl + r to Ctrl + shift + F5, but none of them guarantee, now after disabling the cache using the preferences of Ctrl + F12, only works.

3 answers

4


Squeeze Ctrl + F12 and you will have a menu of Preferências, navigate to the tab Avançado and in the menu on the left select Histórico soon after you will see a button Esvaziar Agora click on it and you will have cleared your cache.

See in detail in the image below:

limpar cache opera 12

Note that you have some options regarding Cache, if you want to modify, in your case it is recommended to check the box Esvaziar na saída and select Nenhum in Cache de memória and Cache de disco.

Note: I think it can also help you, if you go to the left side menu at Armazenamento and there you will have a call Combo Usar cache de aplicativos put to Não.

  • 1

    Expensive ball show! Our looked for pacas these options, but did not know this morning of ctrl + F12 solved yes! For development this is a hand on the wheel. Again, thank you.

  • 1

    I am grateful to help you, Ctrl + F12 is not quite a morning you know, in fact, if you press Alt(which opens the menu of Opera) and go in preferences you can get there too :p but I like shortcuts you know, what would life without shortcuts :)

1

Try this on the head of your page to not store the cache:

<meta http-equiv="cache-control" content="no-store, no-cache, must-revalidate, post-check=0, pre-check=0"> 
<meta http-equiv="pragma" content="no-cache"> 
<meta http-equiv="expires" content ="-1">

1

Try this javascript in the console (CTRL + SHIFT + J) to reload the page and redo the cache:

location.reload(true);
  • 2

    In Opera 12 the CTRL + SHIF + J does not open console, it asks to create an account, I do not know what. But this works well in Chrome, maybe it will work in Opera 13 which is a Chrome Fork.

Browser other questions tagged

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