Skip to content

Make local storage size adjustable #756

Open

Description

@tobiasKaminsky

Currently the cache size is 10Mb, which may be a little small.
Do we want the cache size adjustable in Preferences?
Maybe also with the ability to clear it, just like Dropbox or Drive?

EDITED by @davivel

See #756 (comment) below for updated scope.

Activity

  1. changed the title [-]Make Cache size adjustable?[/-] [+]Make Cache size adjustable / clear cache?[/+] on May 23, 2015
  2. tobiasKaminsky commented on May 23, 2015

    @tobiasKaminsky
    ContributorAuthor

    Clearing the cache is already possible via settings -> apps -> owncloud -> clear cache.
    I do not know if an extra in-app setting is needed.

  3. jab416171 commented on Jun 27, 2015

    @jab416171

    I think an extra in-app setting would be nice. In addition, downloaded files go to the SD card, so clearing the cache via settings doesn't delete the images on the SD card.

    I think there should be a distinction between files that are kept in sync, and files that are temporarily downloaded for viewing. Temp files should be stored in cache, and files that are to be kept in sync should be stored on the SD card.

  4. tobiasKaminsky commented on Jun 28, 2015

    @tobiasKaminsky
    ContributorAuthor

    This is something we had discussed in some other issue and would be the way google drive/dropbox is doing it.
    The main benefit of our system is that other apps (like audio player) can use the downloaded files directly as they are stored in a normal file system.

  5. jab416171 commented on Jun 28, 2015

    @jab416171

    If you just chose "Keep file up to date" for all of your music files, then audio players would still be able to use the downloaded files directly. Do we not want to store cached files (that are downloaded when we open the file) in the cache?

    Also, and this is probably a separate bug, but when uninstalling ownCloud it doesn't clean up its folders from the SD card.

  6. tobiasKaminsky commented on Jun 29, 2015

    @tobiasKaminsky
    ContributorAuthor

    currently keep file up to date is not necessary for this. And from a user view it is not intended to have all files that one wants to use within other apps have to been checked via this checkbox.

    Currently this is our intention: all opened files are stored in the filesystem and not in the cache. There are quite a few issues regarding this.

    The second paragraph is definitive a new issue. Please create it.

  7. davivel commented on Aug 16, 2016

    @davivel
    Contributor

    We should go further with this one, extend the LRU cache concept to the files synced in the local owncloud folder and let the user to decide the maximum local storage to be used to keep synced files (excluding those marked to be kept-in-sync).

    We shouldn't keep extending the settings to improve the use of network or storage only for images. Same concepts are applicable to all the files synced by the app.

    I'm sure the idea of the global LRU has been commented in some other place, but I cannot find the issue, so I'll re-title this one.

  8. changed the title [-]Make Cache size adjustable / clear cache?[/-] [+]Make local storage size adjustable[/+] on Aug 16, 2016
  9. 0-wHiTeHand-0 commented on Oct 27, 2016

    @0-wHiTeHand-0
  10. added this to the milestone on Dec 16, 2019
  11. michaelstingl commented on Aug 19, 2022

    @michaelstingl
    Contributor

    ownCloud iOS app has a setting to keep cache small, by auto-deleting unused local copies after some time, not to limit the cache by size. Could help for the Android app too.

    IMG_2CE7AA2C9157-1

    @jesmrec do we have an issue for this?

  12. jesmrec commented on Aug 22, 2022

    @jesmrec
    Member

    no, we can use this one or that purpose.

  13. removed this from the milestone on May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions