Skip to content

Disable caching for a certain subfolder of a cached folder #1156

Open
@dsavenko

Description

Hi,

Just a question. If I do

remoteStorage.caching.enable('/a/')
remoteStorage.caching.disable('/a/b/')

I expect caching will be enabled for /a/ and everything inside of it, but not for /a/b/ and everything inside of it. Am I right?

I'm asking, because the docs are a bit confusing. They say:

When caching is enabled for a folder, it causes all subdirectories to be cached as well.

but don't mention the case when I specifically disable caching for a subdirectory.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions