Skip to content

Why is slow route transition which is waiting on the loader to resolve all data better than a SSG site? #1759

Closed Answered by ccssmnn
vidrepar asked this question in Q&A
Discussion options

You must be logged in to vote

@hollandThomas is right.

Remix does only SSR on each request. This makes developing a remix app straightforward. For performance reasons, you would enable caching. There is a great video about http caching and different caching strategies here

SSG is just caching at built-time. With remix, you would cache responses at runtime.

Being able to serve cached content right from the CDN is as fast as it gets. When you want to serve fresh content fast, you need to make your data sources fast to reduce the time remix is waiting for the data before rendering the page. But as you have mentioned SSG, you would probably Cache on the CDN.

What am I missing?

Only allowing one rendering strategy makes …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@vidrepar
Comment options

@ccssmnn
Comment options

@sergiodxa
Comment options

Answer selected by machour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants