4 ms·
> single-page app SSGs How does that work? Isn't "single-page app" the exact opposite of a "static site"?
by paulddraper 10y ago
> single-page app SSGs
How does that work? Isn't "single-page app" the exact opposite of a "static site"?
- eganist 10y agoThe "app" in this case would be client-side logic (e.g. written in JS) which might then render the blog client-side by pulling down the text for the blog. Ultimately, everything on the server is unchanging until you do a rebuild with new content. So long as the hosted content isn't dynamically generated server-side when you visit, it's static.
- puppetmaster3 10y agoSingle page app uses .js to load page inside index.html w/ push state. I like this 'serverless' approach.
- philtar 10y agoIt most certainly is not serverless.
- puppetmaster3 10y agoDo you read? Ex: http://martinfowler.com/bliki/Serverless.html http://martinfowler.com/bliki/Serverless.html Or dozens of other? You are not in a cave.
- philtar 10y agoWho gave Badri Janakiraman authority to define what serverless is?
- puppetmaster3 10y agomartin fowler is an authority. Here so you can try http://bfy.tw/7nJE http://bfy.tw/7nJE
- andreareina 10y agoFound this[1] site some time ago demonstrating an SPA-style static site with no javascript. You end up having to download every article/page though. [1]: https://www.smashingmagazine.com/2015/12/reimagining-single-page-applications-progressive-enhancement/ https://www.smashingmagazine.com/2015/12/reimagining-single-...