I assume everyone has used the "interesting tags" feature. You select a tag and the questions with selected tag are highlighted by addition of the CSS class tagged-interesting
.
The highlighting is done by JavaScript after the DOM is loaded (because it was not working when JS was disabled). So, until the DOM is completely loaded, there is no highlighting. Since I am on a slow connection, the highlighting takes place only after a long time (around 5-6 secs).
Why was JavaScript was used for this, when it could have been done server-side by simply adding the class? That wouldn't have caused much overhead to the server.
I want to know the rationale behind it (I am sure it exists) because, as recently I learned during my internship, JavaScript should strictly be used for user interaction purposes (like up-voting).
Am I thinking along the wrong lines?