5 ms·
Render server-side (or on the edge) for those who don't run client-side scripts.
by tuukkah 4y ago
Render server-side (or on the edge) for those who don't run client-side scripts.
- qingdao99 4y agoCan that be detected by the site? (in a non-hacky way)
- tuukkah 4y agoYes, by including code that if run, alters what happens. For example, you can add JavaScript code that handles the "comments" links on the front page in the new way (fetch the data and render it). For those browsers that don't run the code, everything will continue to work in the old way (links will cause a request to the server, which will render the comments).