Re:Syntax Highlighting in a Webpage Without JavaScript
by kevincox on Thursday March 25, 2021 @08:59AM
(#26579658)
For things like syntax highlighting which is fairly cheap and done "once" I doubt resource usage is a consideration. However I won't be surprised if this is at least a consideration for bigger companies when they decide to make a relatively cheep API or a server-rendered app.
I've always wondered if it wasn't intentional. Things running on the client means they don't have to run on the server, and you can save money this way.