Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
strombraaten opened this issue Oct 31, 2024 · 0 comments
Open

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

strombraaten opened this issue Oct 31, 2024 · 0 comments

Comments

@strombraaten
Copy link
Owner

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

  • Explore caching options for the site’s static content, such as setting up a CDN.
  • Investigate options for configuring "downtime" or low-server-use periods, where cached content is served instead of hitting the server.
  • Check if Vercel (or current host) offers configurations or add-ons for timed caching or site "hibernation."
  • Test to ensure that during inactive hours, all pages and features still load smoothly and users aren’t affected by reduced server usage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant