Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Problems with the size of the cache

  • Good day, since a few days ago I have been experiencing problems with the browser in terms of the cache, for a long time I am using the commands to change the route where it is stored and its maximum limit but since the update that was a few days ago the browser is ignoring the size commands and only using the custom address command.

    My shortcut have this command lines:
    "C:\Program Files\Opera\launcher.exe" --disk-cache-size=3221225472 --media-cache-size=1073741824 --disk-cache-dir="C:\Users\User\Cache"

    Even enter the opera://flags section and activate all the cache options that were there to test but it still does not work, the maximum limit is between 250mb - 300mb and it does not take the configuration that i had placed in bytes.

    Options activate:

    • Service worker script full code cache
    • Simple Cache for HTTP
    • Enable PWA full code cache
    • V8 caching mode

    Anybody can help me please?

  • After a lot of searching and reading I did several tests with the options, I ended up uninstalling the browser and reinstalling it again, but this time I did not activate any cache option in opera://flags ("The truth is that this did not seem to work really, at least for what I needed)" and I discovered that using the opera://net -internals/#httpCache you could see the maximum limit for the cache ("before uninstalling this page did not work"), so I try and test different sizes in bytes to find a number that was accepted for the command, apparently the size command for the cache does not support more than 2000000000 bytes as limit maximum, this digits is equivalent to 1.8 gb, and with this I could finally make the size command work for the cache.

    In case something similar happens to someone I summarize it in steps:

    • Uninstall the browser
    • I used a program to clean the temp files (%temp%) and the windows registers (regedit) and reboot the system (windows 10)
    • Install the browser again
    • Launch the browser and configure everything necessary first under my needs
    • Close the browser and edit the shortcut
    • Change the path and folder used previously and also modify the commands of the shortcut, this is like this: "C:\Program Files\Opera\launcher.exe" --disk-cache-size=2000000000 --disk-cache-dir=C:\Users ** User **\opera-cache
    • Perform the necessary tests and I could verify that it works.