Code Monkey home page Code Monkey logo

Comments (4)

everic avatar everic commented on September 26, 2024

Refreshing the notebooks operation can take a while for heavy users. If they have a lot of notebooks, let them have to wait before they can use the notebook picker is not ideal. So I'm caching the list on launch to have a better experience, and since I'm not doing it on the main thread, the client should not be affected. Are you not happy about it? @agiletortoise

from evernote-cloud-sdk-ios.

everic avatar everic commented on September 26, 2024

Any suggestion or comments? @agiletortoise

from evernote-cloud-sdk-ios.

agiletortoise avatar agiletortoise commented on September 26, 2024

I don't really like it.

I have to instantiate the session at startup to support handleURL/auth, I think.

In an app like mine, there are users will will never use Evernote and do not even have Evernote accounts. There are users who link Evernote, but might only evoke connections to Evernote 1 in every 100 times they launch the app.

It seems silly to cache something that doesn't get used in this case, no?

If there was an optional call to update the cache it would make more sense – then for apps that would see a performance benefit and always use the list, they could call it and have the data fresh. For apps that only occasionally hit Evernote, it would not create additional overhead and network traffic were it's never used.

from evernote-cloud-sdk-ios.

agiletortoise avatar agiletortoise commented on September 26, 2024

This change is great, thanks!

from evernote-cloud-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.