Fully On-Chain SSR dApp Demo with IC and Fleek

Now you can easily create 100% on-chain dApps that make full use of SSR.
By using IC for the backend and Fleek for the frontend, Web3 can be achieved without compromising UX.
The current TTFB is not great, but the mainnet launch of Fleek Network in Q1 2025 should enable an unparalleled experience.

Running example

2 Likes

Never understood what aspect of the program that fleek is working on is for?I hope someone can explain this to me.

The basics are mentioned in this blog post.

I won’t discuss Fleek in detail here, but it’s an alternative to IC that does not assume SSR and is one of the means by which Web3 can deliver an optimal web frontend solution of ‘pre-cached HTML delivered from the edge, close to the user’.

1 Like

Hi, thanks for sharing! Currently, I’m working on some Social Media Preview pages for SEO metatags, but an issue because it doesn’t support SSR. Is there any update on SSR support for the IC frontend?. Does this mean that the solution needs to be outside of IC for SSR support?

While it’s technically possible to insert metatags directly in the http response, there are a couple of known problems with running SSR on IC.

Even if these challenges were resolved, IC’s small number of nodes and their geographical randomness make it less than ideal as a CDN for frontend applications looking to leverage SSR/SSG/ISR to enhance UX.

Controlling external services with SNS would require a distinctive solution, but it would be the more practical approach compared to build SSR on top of the current IC.

2 Likes