• Cocodapuf@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      36
      ·
      edit-2
      1 day ago

      Uh, how often are you using the Internet to connect to a computer in your home town? Maybe 5% of the time?

      I’ve never used Starlink, but with a basic understanding of geography and optics, I’m going to bet that in most scenarios the latency difference between Starlink and fiber is negligible, sometimes even being faster on Starlink, depending on the situation.

      That said, I’m not suggesting Starlink is a realistic replacement for fiber, just that latency isn’t the big issue. (It has other serious issues)

        • Cocodapuf@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          9
          ·
          edit-2
          21 hours ago

          Ok, so actual question, How useful are CDN endpoints these days with https everywhere? Because most encrypted content is unique to a single web user, caching isn’t super useful. Also you can’t cache live content like video calls or online games. I’d imagine the percentage of cacheable content is actually fairly low these days. But like I said, I don’t actually know the answer to this, i’d be curious to hear your take.

          Edit: it’s weird to get down votes for a question.

          • randompasta@lemmy.today
            link
            fedilink
            English
            arrow-up
            7
            ·
            1 day ago

            HTTPS / TLS has little to do with it. Don’t think of the endpoint as a cache between you and the origin. The DNS name given to the endpoint is the origin from your browser’s perspective. How content gets cached on the backend is irrelevant to the browser. Live video that someone else in your area is also watching is cacheable. Images to load a page, very cacheable. The personal stuff is mostly HTML specific to you but that’s quite small.

            • The_Decryptor@aussie.zone
              link
              fedilink
              English
              arrow-up
              4
              ·
              edit-2
              1 day ago

              Browsers partition the cache by “origin” now though, so while it can cache HTTPS content, it can’t effectively cache shared content (It’ll store multiple independent copies).

              So Youtube still works fine, but Google Fonts is pointless now.

              Edit: Oh yeah, and any form of shared JavaScript/CSS/etc. CDN is now also useless and should be avoided, but that’s always been the case.

              • Cocodapuf@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 day ago

                Yeah, this is the point I was getting at, encrypted content tends to be personalized to individual users, not always I guess. But yeah, I’m not sure how much is left.

                • The_Decryptor@aussie.zone
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  1 day ago

                  It was an issue for a long time that browsers just ignored the caching headers on content delivered over HTTPS, a baked in assumption that they must be private individual content. That’s not the case now, so sites have to specifically mark those pages as uncachable (I think Steam got hit by something like this not that long ago, a proxy was serving up other peoples user pages it had cached).

                  But for something like Google Fonts, the whole point of it was that a site could embed a large font family, and then every other visited site that also used it would simply share the first cached copy. Saving the bandwidth and amortizing the initial cost over the shared domains. Except now that no longer holds, instead of dividing the resources by the amount of sites using it, it’s multiplying it. So while a CDN might put the contents physical closer to the users, it doesn’t actually save any bandwidth (and depending on how it’s configured, it can actually slow page loads down)

      • Anivia@feddit.org
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 day ago

        I live near DE-CIX and have fiber. So a decent chunk of web services I use is available with a latency of under 5ms. And everything else hosted in a European datacenter with under 20ms.

        So almost all of my internet traffic has a lower latency than starlink has under ideal conditions