What's in vivaldi/Default/Local Storage/?

  • I am backing up my system (Linux) and noticed that .../vivaldi/Default/Local Storage/ is about 3GiB ?

    What's in there and is there any reason to back it up?

    To be that big, it must be some sort of cache. If so, then I can skip backing it up.
    Half of the files have a .journal extension, and are zero length.

  • @josephj11
    When you go to https://help.vivaldi.com/article/full-reset-of-vivaldi/ and scroll all the way down to the bottom it says the following:

    "[...] Extension Rules, Extension State, Extensions, Local Extension Settings, Local Storage, Managed Extension Storage, Extension Cookies and Secure Preferences – all extension preferences and extension data are stored here."

    But I wonder what bloated up your local storage this much? My local storage folder is only at 1,15mb (maybe because I use only µblock as extension but still...)

    EDIT: After reading what Gwen suggested below my comment the difference between 3gb and 1,15mb might be indeed that I clear out my data every other day.

  • Moderator

    Can you try to:
    Open Tools → Clear Private Data
    Deleet Data for: All Time
    Tick all except Passwords
    Clear Browsing Data

    That should remove these files.

  • @gwen-dragon Thanks for telling me how to delete them.

    What I really want to know is what they are. They look like they're all names of websites I have visited. The files are in pairs website_name, website_name.journal. That's why it looks like some sort of cache.

    I looked in the binary of one of them and found a string: SQLite format 3.

    I can skip backing them up and I can delete them from the command line.
    I just want to know what they are before I do that.

  • Moderator

    @josephj11 I do not really know but that may be the store for Vivaldi's History page.

  • @zaibon Thanks. It doesn't look like preferences.

    Here's an example pair of files:


    I looked inside of of the (binary) files and found the string

    SQLite format 3

    I still think it's cache. I don't want to reset everything.

    At least, on Linux, all I have to do for a reset is rename the config directory so Vivaldi can't find it and starts over. That way I still have a backup.

  • @gwen-dragon That almost makes sense to me. That's why I asked before deleting it. Sometimes I'm a "history" buff. 😉

    The non-journal files are anywhere from 4k to 37k with most on the smaller side, so they're probably not just history. I would buy that if they were all the same size, but then, a flat file or a database would be better than a bunch of separate binary files.

    Do you have access to anyone who may know the real answer?

  • Moderator

    @josephj11 I pinged some internals on chat, may be someone likes to answer.

  • @josephj11 those are the files websites can store on your computer.
    See https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage (don't wonder about the mozilla URL, Google started to move most of the documentation for that to the new fangled Mozilla site)

    Enter chrome://settings/siteData into the URL-bar (yes, chrome, not vivaldi. Those are 2 different but partially overlapping settings) to see which sites have stored data there.
    Every entry with "local storage" in light grey goes into that folder.
    You can selectively look at the sites to see how big their amount of stored data is and selectively delete it there if you don't want to use the "delete private data" atomic bomb to flush everything.

    A good way to keep the amount of data in check is to

    • open chrome://settings/content <- must be entered like that in the URL bar.
    • set "Keep local data only until you quit your browser"
    • whitelist ("Allow") sites where you need to keep persistent data.

    or to block the worst offenders you don't need for longer than the session lasts in the "clear on exit" list - you get the idea ...

    HTH 🙂

  • @gwen-dragon Thanks. Looks like I got the answer below.

  • @quhno Maybe they should be called "pies". They're way bigger than cookies. Thanks for the explanation. Now, I've just got to figure out if I want to keep any of them. I'll start by deleting the lot and see what happens. Then, I'll apply the more fine grained controls you showed me.

    I tried chrome://settings/siteData , but it took me directly to vivaldi:
    //settings/siteData which looks empty. (Vivaldi Linux 1.13.1008.40 ).

  • @josephj11 Interesting - usually it should not be empty. Did that happen too, if you went to cookies first?

    (and yes, that it rewrites the address to vivaldi:// is a nuisance, especially because there is no real need to do so.)

  • @josephj11 There's something very odd about your directory. FYI, i never delete my data, i have 20 Extensions installed, & i have NO History data in that directory. Furthermore:




    That's it, that's all i have there. Yours seems to be very different.

    PS: I also checked my Stable equivalent, & it's very similar.

  • @quhno I don't know how to go to cookies. I tried chrome://settings/cookies and
    chrome://settings/Cookies. I went through the regular settings menu to see all my cookies and it came up empty even though I have all cookies allowed.

Log in to reply

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.