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

    htmx or equivalent technologies. The idea is to render as much as possible server side, and then use JS for the things that can’t be rendered there or require interactivity. And at the very least, serve the JS from your server, don’t leak requests to random CDNs.

    • XM34@feddit.org
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      1 day ago

      Htmx requires JS. At that point you already failed in the eyes of the purists. And CDNs exist for a reason. You can’t expect a website to guarantee perfect uptime and response times without the use of CDNs. And don’t get me started on how expensive it would be to host a globally requested website without a CDN. That’s a surefire way to get a million dollar bill from amazon!