GithubHelp home page GithubHelp logo

Comments (9)

michaeleconomy avatar michaeleconomy commented on August 15, 2024 1

Alternatively, if there was a way to disable caching entirely, that would work also - I'd want to do caching at a higher level anyway - so request caching doesn't make sense in my use case.

from aws-mobile-appsync-sdk-ios.

rohandubal avatar rohandubal commented on August 15, 2024

Hello @michaeleconomy

Thanks for reporting this. I will take the part of adding clearStore as an API as a feature request to the team.

Regarding your use-case, you can achieve this by scoping the cache to individual users and delete the database file once a user signs out.

Example: https://github.com/aws-samples/aws-mobile-appsync-events-starter-ios/blob/master/EventsApp/AppDelegate.swift#L20 Here we are explicitly setting the database path. We can delete the file and create a new one for every user.

Hope that helps.

Thanks,
Rohan

from aws-mobile-appsync-sdk-ios.

joelmbell avatar joelmbell commented on August 15, 2024

+1 on this feature request

from aws-mobile-appsync-sdk-ios.

larryonoff avatar larryonoff commented on August 15, 2024

+1

from aws-mobile-appsync-sdk-ios.

connorpower avatar connorpower commented on August 15, 2024

+1

from aws-mobile-appsync-sdk-ios.

shawnmmatthews avatar shawnmmatthews commented on August 15, 2024

+1

from aws-mobile-appsync-sdk-ios.

larryonoff avatar larryonoff commented on August 15, 2024

PR #141 is already in master!

from aws-mobile-appsync-sdk-ios.

palpatim avatar palpatim commented on August 15, 2024

This is released on 2.9.2. Please let us know if you have any issues.

from aws-mobile-appsync-sdk-ios.

stale avatar stale commented on August 15, 2024

This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems.

from aws-mobile-appsync-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.