Hacker News new | past | comments | ask | show | jobs | submit login

We have started our platform before React, but ran into similar issues. Luckily they are surmountable. Many of them can be solved by inlining the CSS and basic JS into the page when the session cookie is missing. Then install a service worker to cache each inlined file and show them next time they are requested.

There are nuances like rewriting URLs in the CSS to be relative to the page, and then replacing them back in the service worker before caching the result.

https://community.qbix.com/t/qbix-websites-loading-quickly/2...

But you don’t need static sites. You can use CDNs to cache your pages and make them effectively static. Use AJAX or ESI / SSI to include stuff that depends on the session cookie.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: