Ask HN: What are the pros and cons of separating static hosting and API server?
With the popularity of SPA's, I was curious whether or not it would be viable to approach the web frontend like a mobile app: Deploy it separately, and use the server as a dedicated API endpoint.
Aside from SEO and faster perceived load time, what are some drawbacks to this approach? What are the benefits?
Aside from SEO and faster perceived load time, what are some drawbacks to this approach? What are the benefits?