5 ms·
Other points of note: The whole history API exists to help the SPA experience (but others too). The site still needs to be able to render something like: www
by Justsignedup 11y ago
Other points of note:
The whole history API exists to help the SPA experience (but others too).
The site still needs to be able to render something like:
www.foo.com/customers/10 even if www.foo.com is a SPA and via clicks can go to /customers/10. This may require more server work, so you're not exactly making life much easier for yourself.
You still need to handle cases where a web crawler comes in without good javascript and has to index your site.
- tomjen3 11y agoNot really - these days even googlebot can and does execute enough javascript to craw #/customers/10. Screen readers can do javascript and you can use ARIA to make it easy to browse for blind people.
- PavlovsCat 11y ago> even googlebot I would assume that's one of the more capable crawlers though; not the average, and surely not the lower bound.
- tomjen3 11y agoIt is also the only one that it makes sense to care about, from a business perspective.