strombraaten / climatecode

https://www.climatecode.dev/
2 stars 0 forks source link

Explore "opening hours"-concept to minimize server usage #16

Open strombraaten opened 5 days ago

strombraaten commented 5 days ago

What

Do websites really need to be "open" all day long? We could probably reduce server activity quite a bit during off-hours. Since our content is static, we might be able to cache it or serve it through a CDN, letting users access the site even if the server is inactive.

Why

Limiting active server use could cut down on energy consumption (probably won't affect hosting cost for such a small site, but that's definitely an argument we should mention for the sake of clarity), especially when the site isn’t frequently accessed. Caching static content could maintain a smooth experience for users, even if the server isn’t actively running.

How