4 ms·
> Static was a fun diversion, but we're back to what works. I won't be moving away from static website. It is perfect solution for a blog/CV type thing. >you
by nextlevelwizard 5y ago
> Static was a fun diversion, but we're back to what works.
I won't be moving away from static website. It is perfect solution for a blog/CV type thing.
>you might think that minutes-long build processes are normal
If compiling your static site takes minutes there is something fundamentally wrong with your site in my opinion.
- mikewhy 5y ago> > Static was a fun diversion, but we're back to what works. > I won't be moving away from static website. It is perfect solution for a blog/CV type thing. Yeah, I'm keeping an eye on these new "MPA"/"transitional" frameworks, but the thought of taking a static marketing page, which costs fractions of a cent to serve and is easy to put on a CDN, to now requiring a backend server which costs magnitudes more, seems foolish.
- nextlevelwizard 5y agoAssuming you don't mind Microsoft or Github you can host a blog or whatever on github pages for free. You can even use a custom domain. That's how I host my site.
- Tade0 5y agoI laid my first lines of JavaScript(JScript, actually) in 2001, have been doing this professionally for around a decade now and I judge this blogpost as generally ignorant, but that first quote is especially so. 90%+ of the Web is just static sites with JS sprinkled on top. That has always been the case and will stay that way for the foreseeable future, because it's the most simple, pragmatic and accessible solution.
- canyonero 5y agoI'm amazed by the amount of shade I've seen lately being thrown onto SSGs and building websites with static HTML. Though, it seems to be permeating from folks that have a vested interested in having you run code on a (or their) SSR platform. There are some interesting properties of server rendered websites and it can be the best option in some scenarios, but in others it adds complexity and burden on the end user. To suggest that static was a "fun diversion" detracts from the value and I feel we'll be going full-circle once again after we've realized that "what works" isn't always server render HTML.
- moffkalast 5y agoIf a framework needs compiling to view changes instead of pressing F5 in a browser like god intended, that's gonna be a no from me dawg.
- justusthane 5y agoWhen I make a change to any file in dev, Eleventy rebuilds the site (takes a few milliseconds), and then automatically reloads the browser. That's a yah from me, dawg.
- nextlevelwizard 5y agoMy static site is build by a generator. A generator that literally runs after each save and it takes milliseconds to compile my site. I also have autorefresh plugin for development, so as soon as I save a file whatever page I had open in my browser "instantly" gets refreshed.