3 ms·
I eternally have this misunderstanding. I think static means unchanging. In this context, it means static HTTP responses, but dynamic HTML/DOM. I want a word
by paulddraper 10y ago
I eternally have this misunderstanding. I think static means unchanging.
In this context, it means static HTTP responses, but dynamic HTML/DOM.
I want a word to mean really static.
- cies 10y agoIn this context some HTTP responses are static. The static part of the website. But the React app can also start consuming all kinds of webservice. This way (1) a large part of content can be served as prerendered static HTTP responses (HTML, CSS, JS). (2) Static content not initially loaded can be served as JSON (as seen in the presentation). And (3) dynamic content (e.g. real time comments or a chat) can be non-static (one or more webservices, possibly on WebSocket thereby going beyond HTTP). I think this may be very interesting when "big mostly static content", "need for modern web tech" and "big traffic" meet.
- bloodyowl 10y agoHello, I'm in the core Phenomic team. The idea in Phenomic is that we generate for each page: - the HTML entry point, rendered like it would be with ReactDOMServer - the data-requirements of the page That lets us offer the following: - Any page is accessible directly, without runtime (which has advantages regarding performance and SEO) - Navigation works even if JS is disabled - If JavaScript is enabled, the runtime just loads the minimum required data for the next page to display and renders it Phenomic really is static, it just uses a few techniques that we learnt from the modern front-end development workflows and capabilities :)
- paulddraper 10y agoNeat. Thanks for the info!