I've been a fan of static websites for a long while now. In addition to page load issues, they also more or less completely solve the Slashdot effect (aka the Reddit Hug Of Death, these days). A competently-configured Nginx server on a 512mb VPS, serving static-only content, will handle ridiculous amounts of traffic without flinching. Ever since a front-page mention on BoingBoing took down my feature film BloodSpell'…
Do you - or anyone - have stats about the possible traffic demands of Slashdot/Reddit/HN front page stardom? I'm very much in the Nginx/static camp, but it would be useful to know how bad the spikes can get.
Static Website Generators Are the Next Big Thing
101–110 of 187 posts
Re: Static Website Generators Are the Next Big Thing
#102Re: Static Website Generators Are the Next Big Thing
#103Ok, "static" here means no RDBMS-backed website. But you can still use statically generated JSON resources from a db once off. These resources can then be "filtered" and "combined" without the need for databases (not using the words JOIN or WHERE carefully). Sounds like a great idea to overcome the need to obsess about connection multi-plexing.
"Statically generated JSON resources" implies client-side rendering, and I suspect you'd find some disagreement over whether that's really static. If there's only one such resource per page, then maybe, though you'd still be losing some advantages wrt caching. If the JS running on the client has to fetch many such resources and stitch them together, then it's functionally equivalent to a standard dynamic website and…
Heck, once CDNs and caching get involved, I wonder how many requests will even hit your HTTP process at all.
Re: Static Website Generators Are the Next Big Thing
#104You know what I've always wanted, but my searches have led me to believe that it (inexplicably) doesn't exist? I want a simple site generator. I don't want markdown, I don't want a fancy templating engine. I want some simple templating system that takes in normal HTML and generates pages from simple templates I define. I want to shove in some arbitrary HTML and have it spit out a site using some base templates. To th…
People can hate on it all day, but that is exactly what it does. There is a reason it was such a huge tool 15 years ago.
Re: Static Website Generators Are the Next Big Thing
#105I'm still looking for a static site generator that's as easy to use as Wordpress (so with a UI, not markdown). Anyone know of something that fits the bill?
Our primary motivation was being able to build a static website as easy as using WordPress - so we figured, why not turn WordPress into a static site generator?
As notacoward mentioned, there is a few gotchas so we decided to launch it as a SaaS in order to abstract those things away and make it fully hosted on a CDN out of the box. We still give you full access to the WP install though, so no vendor-lock in or shackles for the customer.
Happy to give anyone a demo if you're interested. You can contact me at mathias AT dotsqua.re
Re: Static Website Generators Are the Next Big Thing
#106Re: Static Website Generators Are the Next Big Thing
#107Re: Static Website Generators Are the Next Big Thing
#108At the time, the recommendations only updated once a day, but an active user would have to dynamically load that content repeatedly, and at the same time, the recs were getting updated for users who hadn't visited that day. By switching to static, we could generate a new static site for you every time you watched something (which could change your recommendations), and increase reliability at the same time, so it would have been a much better customer experience. Unfortunately we couldn't get enough of the frontend engineers to buy into the idea to get it off the ground, and also they were already well along the path to having a data pipeline fast enough to update recs in real time.
Re: Static Website Generators Are the Next Big Thing
#109The thing that always pulls me back to wordpress is the ease of creation and hosting. Drag an image into your text, and pop it's uploaded, hosted, and linked to. Write something in the interface and bam it's online and reliable. Every static site generator I've played with (And there have been TONS), solves 80% of the problem. I'd love an app that gave me that ease of hosting and creation and generated a static site…