HackerTrans
TopNewTrendsCommentsPastAskShowJobs

infraviolet

no profile record

comments

infraviolet
·6 anni fa·discuss
I recently made the switch from a Gatsby-powered version of my blog to a traditional server-templating based one. Currently there's zero JS on my website. The immediate impact is that my website is much more lightweight and loads and renders much faster. I plan to A/B test the visitor behavior across these two versions and share the results.

Though if you really go all in on no-JS (which I understand what OP isn't recommending), there are certain issues. Like if you have a "subscribe" button at the bottom of your page, using a non-AJAX POST request to submit the email will not get you to the bottom of the page by itself (which would come for free if using JS). So using JS can provide a better UX in these aspects.

EDIT: The blog in question: https://pythonautomationtutorial.com