|
|
|
|
|
by _heimdall
743 days ago
|
|
In my experience, the most frequently missed benefit of HTMX, and server rendering in general, is that you actually control the hardware your frontend is rendered on. If and when you find performance issues in production you can much more easily reproduce and fix it when conversion from data to HTML is done on a server and infrastructure that you own. Trying to track down render performance issues with client side rendering is a huge pain that more often then not leads to a bug being chalked up to "can't reproduce" or blaming the user's device/browser/network. Tracking down rendering performance issues with server rendering almost always leads to optimizing database queries or reworking your internal infrastructure. |
|
Also you're describing database queries and architecture as being a potential issue. Won't APIs be just as slow for the same reasons?