Live data from Hacker News

How to Build a Low-Tech Website

solar.lowtechmagazine.com

161–170 of 188 posts

Re: How to Build a Low-Tech Website

#161

Earlier quoted context omitted.

Even if it did save bandwidth, that does not equal significant energy savings. And if it did, there are better ways to save. For example, looking at their response headers I see the image cache control expires after a day, plus has validation caching. This could be significantly improved. First, get rid of the `etag`, `expires`, and `last-modified` headers and go with expiration caching only. Increase the `max-age` f…

> First, get rid of the `etag`, `expires`, and `last-modified` headers and go with expiration caching only. Increase the `max-age` from one day (86400) to one year (31536000). Since it's a statically generated website, I'd favor never expiring the cache, and using cache-busting hashes instead. That way the cache is only emptied when the file actually changes.

Isn't the etag just a hash of the content?

Re: How to Build a Low-Tech Website

#162
What if you moved this to Saudi Arabia or somewhere where it's always sunny? I feel like this is the grassroots movement where actual decentralization occurs-imagine a mesh network localized within cities and then somehow branching out to other.

Re: How to Build a Low-Tech Website

#164

> Default typeface I adore this for whatever low or high tech. As for me all this web-font stuff seems a huge piece of BS (except for rare cases when a website is meant to be more of a piece of art than serving a practical function or when you need to use an exotic language letters of which are rare to be found in the standard fonts on clients' computers) and I just block external fonts all the time.

For developers it always seems like a good idea to use the system defaults but then you push it out to users and find out they all have insane defaults that work like crap.

I had someone complaining to me that my mailto: link doesn't work but actually its just they had the wrong mail client set as default on their system.

Re: How to Build a Low-Tech Website

#165

> Default typeface I adore this for whatever low or high tech. As for me all this web-font stuff seems a huge piece of BS (except for rare cases when a website is meant to be more of a piece of art than serving a practical function or when you need to use an exotic language letters of which are rare to be found in the standard fonts on clients' computers) and I just block external fonts all the time.

For developers it always seems like a good idea to use the system defaults but then you push it out to users and find out they all have insane defaults that work like crap. I had someone complaining to me that my mailto: link doesn't work but actually its just they had the wrong mail client set as default on their system.

Not using custom web fonts that have to be loaded from external resources doesn't imply using pure defaults of the client's system. You still can specify font size and style with pure CSS.

Re: How to Build a Low-Tech Website

#167
post #81

I am going to guess they are getting a massive surge of traffic about now and yet the site still renders in a fraction of the time it takes most "modern" web apps or even just static content sites - this is how it should be.

Honestly, I'm not even sure what modern website are doing when they generate pages. I've had highly dynamic PHP/MySQL websites running on crap hardware, and it was trivial to attain .03 second page generation time. Didn't even need fancy caching, just some common-sense SQL optimizations.

Its not the HTML generation that's slow, it's everything that comes after. Usually lots of Javascript to run media and ads. Unfortunate, but it's driven by business decisions, not tech.

Re: How to Build a Low-Tech Website

#168
post #40

Wonder if they've considered a gravity battery? As an additional benefit it'd let someone local "recharge" the battery manually rather than being 100% tied to the Sun.

It's Low Tech magazine: you can bet he's considered and analysed every form of energy storage you can think of, and several you haven't.

Re: How to Build a Low-Tech Website

#169
post #137
post #106

Earlier quoted context omitted.

I think the article hits on the key problem: "Less than 100% reliability is essential for the sustainability of an off-the-grid solar system." IMO, this can only become mainstream once there is no longer an expectation of "100%" uptime for websites in general. It's far-fetched, but I can imagine it becoming mainstream if mesh networking becomes popular, or if the Internet were to become a widely self-hosted platform…

Having been in the “mesh” space for years, there’s a ton of this techno-primitivism fantasy floating around. The reality is that people want to access the internet and they want it to work well. This article is a perfect example. This solar powered server which does not have 100% uptime for artistic reasons is probably sitting in someone’s kitchen next to a refrigerator which uses many times as much power and definit…

Maybe the webserver sits in a hut like Joey Hess' with a fridge that is also solar powered https://joeyh.name/blog/entry/fridge_0.1/

Re: How to Build a Low-Tech Website

#170

> The size of the average web page (defined as the average page size of the 500,000 most popular domains) increased from 0.45 megabytes (MB) in 2010 to 1.7 megabytes in June 2018. It's the second place I see such low average size values (I'd say, somewhat reasonable), but I'm having a hard time believing in them. On a typical site, when I hit F12 and proceed to Network tab, I usually see ten times greater values. I f…

There is also the issue that caching (e.g. cdn of jQuery or React libraries) can mean that, if you visit a given website every day in a month, you may only download that library once (the first time). Their estimate is definitely lowball for your first visit, but it might be a reasonable estimate for how much is actually downloaded on average.

I thought that the caching you describe in practice rarely actually offers much of a benefit (for various reasons), but maybe things changed?
Post reply on HN