Discussion

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?

1 points bkgunby 10 years ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton