Professional web developer and hobbyist programmer from the Welsh Marches. I'm particularly interested in performance, accessibility, and reducing carbon emissions from software.
I can't actually think of any off the top of my head. If you could only re-render pages where stock / price etc. has changed you could extend the definition of static to things that only render when changed.
I suppose the only things that would need to be truly dynamic would be situations like unique account pages and stock prices etc?
Very interesting when you start to think about what can be rendered statically.
Social media is an example of a website with dynamic content and Ebay is an e-commerce example; they all have data that is changing constantly. They wouldn't work well as JAMStack as you'd have to trigger a rebuild every time someone makes a bid or creates an auction.
That's not to say you can't have the best of both worlds. Almost every application I've built in the passed two years has made use of SSR and Static.
Does anyone have an example of a website with dynamic content, e.g. with production product prices changing many times per hour etcc ?
I can't actually think of any off the top of my head. If you could only re-render pages where stock / price etc. has changed you could extend the definition of static to things that only render when changed.
I suppose the only things that would need to be truly dynamic would be situations like unique account pages and stock prices etc?
Very interesting when you start to think about what can be rendered statically.
Social media is an example of a website with dynamic content and Ebay is an e-commerce example; they all have data that is changing constantly. They wouldn't work well as JAMStack as you'd have to trigger a rebuild every time someone makes a bid or creates an auction.
That's not to say you can't have the best of both worlds. Almost every application I've built in the passed two years has made use of SSR and Static.
And what would you choose from assistance such as gatsby but to build a mainly dynamic website?
SSG is not recommended where content is dynamic. you should go with SSR instead