5 ms·
If you want a single-page app feel to your website, build it as a single page app from the beginning. Bolting something like turbolinks on top of an existing we
by haukur 10y ago
If you want a single-page app feel to your website, build it as a single page app from the beginning. Bolting something like turbolinks on top of an existing website will probably give you more headaches than it's worth. You can't escape the fact that the app suddenly has state and you need to deal with it (and then why not do so from the get-go?).
- eyelidlessness 10y agoFor content sites that don't deal with a bunch of state, this could be a nice addition to make navigation feel faster without compromising SEO and without introducing a complicated build solution for server-side rendering.
- lostboys67 10y agoor use AMP pages https://www.ampproject.org/ https://www.ampproject.org/
- michaelmior 10y agoWhile AMP is great, it doesn't serve the same purpose and is only designed to work for specific types of content and not an entire site.
- lostboys67 10y agoErr not so google is prompting me to add amp pages to a site (major travel brand) which is out the initial use case
- b0ner_t0ner 10y agoYou do know that it's only fast because it's hosted on Google's CDN right? And if you're coming through from a search, there's a nag blue header you can't get rid of. Not to mention all the strict guidelines for things you cannot do. https://cdn.ampproject.org/c/amp.livescience.com/55991-giant-pandas-no-longer-endangered.html https://cdn.ampproject.org/c/amp.livescience.com/55991-giant...
- michaelmior 10y agoWhat do you mean by "not so"?