• murtaza64@programming.dev
    ·
    10 months ago

    The difference between generating JSON and generating HTML is minimal for the server, doesn't seem to me like server side rendered sites have significantly higher server compute costs. Also generally for SPAs, the server has to replicate whatever flow is happening on the client anyway to keep state in line (since the client can't be trusted)

    • GaveUp [she/her]
      ·
      10 months ago

      It's not just JSON and HTML. There's also graphic rendering and even machine learning models