cross-posted from: https://lemmy.world/post/1005198

I would assume it is, since the server only needs to serve the API calls and not the whole web site code?

If so, getting people to use the apps could help with the current wave of users a little.

  • marsara9@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    In general the database queries themselves are the most expensive. That and maybe the ActivityPub messages. The HTML/Javascript content from the browser should be nothing in comparison, especially since it’s static. So in the end, it shouldn’t matter if you’re using a mobile client or a browser, assuming both are optimized.

    • Izzy@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      That sounds perfectly logical, but for some reason the site through a web browser has been significantly slower than in an app like Jebora for me.

      • marsara9@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I haven’t looked at the code for either the web-UI nor Jebora, so I can’t say if either are written optimally. In theory they should be comparable at least because they are written by the same developers, but who knows…

        But that’s interesting, for myself on Jebora, it’s slow as molasses. I constantly get network timeouts and JSON errors. On the browser it at least feels smooth, just longer load times.

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Nope. The web ui uses something called service worker which caches the html, css and js files on your device and only fetches updates from time to time.

    • WhoRoger@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Is that why my browser now takes 100MB more space that can’t be deleted by clearing cache…? I hate that.

      • Rikudou_Sage@lemmings.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Possibly? No idea how much of the data is from service worker cache. Also I’m not sure whether clearing the cache really skips service worker’s cache, my gut feeling would be that it’s purged as well.

      • CeruleanRuin@lemmy.one
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Can vouch for wefwef. Having only used it for a few hours this morning, the improvement over the basic web interface is lovely.

    • nullable@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Would be nice if Apollo would become open-source and then we could modify it to work with the fediverse. Maybe we could have a crowdfunding to pay back Christian’s work and make it opensource.

    • klyde@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Christian isn’t interested. Only person I’ve heard about is the person from Sync. They’re making Sync For Lemmy. I’m trying a bunch so idk yet. Connect, Liftoff, Jerboa are a few. Look up WefWef. It’s a site app that looks like Apollo. Wefwef.app

    • justheretoroasts@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Nothing from Christian yet. I’ve been using Memmy though. It’s still in TestFlight and at capacity but they’ve submitted it to the App Store and are pending approval.