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

[Request] add static building #112

Open
LeoDog896 opened this issue Jan 18, 2023 · 4 comments
Open

[Request] add static building #112

LeoDog896 opened this issue Jan 18, 2023 · 4 comments

Comments

@LeoDog896
Copy link

Given that (at some point) the deno blog isn't fetching dynamic data but rather a website for all users, the deno blog should be able to generate static files.

@Felipe-53
Copy link
Contributor

Very much agree. The project could stick with the default SSR strategy, but give the option to build the site into static files. The performance would be much improved.

It's kinda annoying and detrimental, for example, that the avantar picture has to be downloaded every time the home page is hit.

@LeoDog896
Copy link
Author

We could split the current BlogSettings interface into 3: BaseBlogSettings, BuildBlogSettings, and ServeBlogSettings (or similar naming -- we shouldn't bikeshed on this), given that the current settings takes in middleware fields and some may be untranslatable to a dev server.

@mandric
Copy link

mandric commented Apr 12, 2023

Also in need of a solution for static generation here. Any ideas how it would be architected? Could it be a middleware? Part of the blog config options? A separate mirror process all together? Any good examples out there already we could follow?

Given some direction, maybe I could hack something together...

@mandric
Copy link

mandric commented Apr 12, 2023

Or probably just make more sense to use lume or something...

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

3 participants