JavaScript and E-Commerce website.
Lately, I have seen websites adopting only JS approach. Well, good for me, thats what I do! but NO.
Do users care about that? NO!
Do SEO care about that? May be!
Do Crawlers (like WebArchieve) care? YES!
In my opinion websites like Facebook, Netflix, WhatsApp-Web etc. which don’t care about SEO or have user-specific content are good candidates for SPA (Single page App). Not an E-Commerce or Content-heavy website!
Let me stress more on E-Commerce here, Is this a good business decision to have your E-Commerce website completely relying on JS? Potentially making it least crawl-able by most bots among Search-engines or webarchieve OR is not at all usable with JS disabled.
A counter argument would be, hey but these days Google-bot parses JS content. I had say, I would not just rely on others implementation, Google might be doing that, but not all other Search Engines.
Let’s take a real life example: Flipkart.com. when I lived in India, it was one of my favourite website . Lately while browsing, I felt its slow (More white screens), but for my surprise, they completely re-wrote the whole desktop website in JS. Made sense to do that on mobile (btw I love their mobile-web), but I am not sure for desktop.
Lets see what goes in Search results for same queries.
I searched for “buy smartphone india”
Also Google cached version for Amazon and Flipkart didn’t surprise me.
And the same is for webArchive of Flipkart