Code Monkey home page Code Monkey logo

Comments (2)

krnekhelesh avatar krnekhelesh commented on August 17, 2024

I have a couple of suggestion here to improve the startup time. First, when a user installs Pockit and logs in, he shouldn't be waiting long at all, it gives a bad impression. So for the first time sync,,

  • Sync only the first 10-20 items and do the rest in the background when the user is reading through an article or the next time the app is opened.
  • In Podbird, we download the podbird metadata like title, artist, description etc through XMLHttpRequest, but we download the Podcast cover art using the Ubuntu Download Manager. Cover arts are usually the heavy ones, so we push that to the background using Ubuntu Download Manager.

Hope this helps.

from pockit2.

turanmahmudov avatar turanmahmudov commented on August 17, 2024

@krnekhelesh PockIt downloads all items with XhrHttpRequest. Syncing items takes nothing, but syncing articles takes long. Background syncing freezes the app. I have two ways:

  • Sync only items first time, and enable to download articles when user wants
  • Move syncing to WorkerScript (I don't know it would be good or not)

from pockit2.

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.