Hacker News new | ask | show | jobs
by Waterluvian 1375 days ago
Is Fresh primarily a server side rendering tool? Or might it be an option for static-ish webpages hosted by GitHub.io?

I love the idea of eliminating lots of build boilerplate but I do ultimately want to output static assets for a read-only webpage.

1 comments

It’s a server-side framework that delivers static content - but the static content is rendered just in time rather than ahead of time.

For ahead of time static sites in Deno, check out Packup https://packup.deno.dev/

AFAIK the static content is cached somehow with Fresh/Deno. It's not compiled on every request.
Ahhh gotcha. So unlikely to be a good fit for my needs.

Thanks!