:tools: Scheduled maintenance

Heads up! Downtime for the Forums, related to the NodeBB upgrade, is planned for Thursday, December 14, starting from 10:00 UTC.
Please make sure to finish all your posts before this time. The downtime should only last for a few minutes.

Huge `File System` and `Local Storage` directories: how to check and manage these?

  • Auditing the space use in my user directory (on Ubuntu), I noticed .config was bug due to opera-developer subdirectory.

    Investigating further, I notice two bug directory in .config/opera-developer:

    • File System: 3.3 GB
    • Local Storage: 270 MB

    I’m surprised, since the File System directory, is, I guess, related to the HTML5 File API. What does it mean this directory is so huge and how do I manage it from Opera?

    Similarly, I’m surprised Local Storage is so big. How do I check from Opera, what website use how much amount of local storage?

  • Sorry for a typo: I mint “big directory” instead of “bug directory”.

  • For local storage, I could find it. It’s under cookis: opera://settings/cookies

    But there are issues:

    • It may takes long to start displaying something, making one believe it hangs
    • The size used on the left column is not at all accurate, it sometimes display nothing while a site uses mega bytes of storage
    • There is no way to sort of filter this long list by storage type and storage size used.

    At least, it allows to delete data per site. That said, I wonder if it’s OK to do so directly deleting files in Local Storage. I guess one would have to care to also delete the corresponding *-journal file as there seems to be a *.localstorage-journal file for each *.localstorage file.

    I still can’t find how to manage File System.

    I wonder why all of this is stored in .config/opera-developer while it should more probably be in .cache/opera-developer. That said, this not really cached data neither, but this is surely not browser configuration data. Unfortunately, there is no real application data in Linux (Windows has the roaming directory for that), so that issue may not be Opera’s fault.

  • There is just a last modification time: a last access time may be useful to purge old/obsolete data.

  • Local storage is just that - if you use Gmail or Windows Live or any of the similar online apps they like to save your data both online and locally (local is faster to retrieve and so on). If you really want to, you could use Opera to clear all your Local Storage (and cookies) at once under Delete private data. Obviously I would clear it in Opera before trying to purge it directly.

  • I understand for Local Storage, but there also is File System which is so big it can be an issue: how do one know if it’s worth to save these 3.3 GB during a user directories backup? This size is close to half of an average USB stick capacity.

  • how do one know if it’s worth to save these 3.3 GB during a user directories backup?

    Don't know if you can do it on Linux but you may try to rename that folder/file and see if it causes any issues. If not, then you can just delete it.

  • Don't know if you can do it on Linux but you may try to rename that folder/file and see if it causes any issues. If not, then you can just delete it.

    Yes, this can be done. That's a simple and good idea worth to try, indeed. I guess if Opera miss it, it will recreate it, and I will see how it fills it up again.

  • There are extensions to browse contents of localstorage.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.