Post #2797820
2024-09-17 12:46 UTC
@slightlyoff In my toy project, I switched to sending unmodified app HTML.
For server-side injection, I do an additional write() to the tcp pipe adding a block "<script>let preloadedata = {{...}};<script>".
Then the web app can check if preloaded data is there or not and use it to save a round trip.
I don't understand why this is not the state of the art? Everything else sounds unnecessarily complex.
Replies (0)
No replies.