Re:API server and a static front end – the future?
by mst on Saturday October 03, 2015 @07:02PM
(#10325740)
Working on the assumption that the crawlers will index the JSON in the script tag?
[ Parent
| on HN ]
Re:API server and a static front end – the future?
by jrochkind1 on Saturday October 03, 2015 @08:01PM
(#10325901)
Crawlers indexing is a different problem, and not the one the OP was talking about -- the OP's problem is specifically speed of first page display, and even more specifically speed of first page display due to having to make AJAX requests for data to display the first page.
But crawlers and "single-page" Javascript apps are another potential problem, sure, although not the one the OP discussed.
But wanting actual HTML in the original non-JS delivery for crawlers is I guess why people have followed the 'universal JS' approach instead of what we're talking about here.
Other comments in this post suggest that Google, at least, does fine with Javascript-generated pages these days. I have no idea myself.
Re:API server and a static front end – the future?
by mst on Monday October 05, 2015 @02:32PM
(#10333766)
I was replying to a comment that specifically mentioned crawlers: https://news.ycombinator.com/item?id=10325666