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

sponsors: add oakhost #1627

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Jan 16, 2025

OakHost generously offered the infra team 2 M2s, plus a discount for
future machines. Thanks OakHost!

OakHost generously offered the infra team 2 M2s, plus a discount for
future machines. Thanks OakHost!
@zimbatm
Copy link
Member Author

zimbatm commented Jan 16, 2025

Btw, I wanted to run a local devshell to review the changes, but gave up after npm run dev took more than 15min, invoking nix multiple times, and asking me about the same untrusted caches each time. Isn't it possible to have the preview server startup instantly like on most nodejs stacks?

@thilobillerbeck thilobillerbeck merged commit 3ab975a into NixOS:main Jan 17, 2025
2 checks passed
@thilobillerbeck
Copy link
Collaborator

the preview server startup instantly like on most nodejs stacks?

The problem is that all the CSS, Markdown etc. has to be compiled in order to display the webpage. Or what kind of preview server do you have in mind?

@zimbatm zimbatm deleted the sponsors-add-oakhost branch January 18, 2025 09:43
@zimbatm
Copy link
Member Author

zimbatm commented Jan 18, 2025

After digging a bit, what's slowing things down is mostly the prebuilds. After that, it takes 2-3 seconds from running astro dev to getting a working website. I think I would commit the content of the prebuild since they aren't derived from the website content but are additional pieces. Or find a way to fetch the pre-built versions from somewhere.

@thilobillerbeck
Copy link
Collaborator

Yeah, maybe I can also put some work into speeding things up. I guess adding some command to run astro dev alone would be a good idea.

@thilobillerbeck
Copy link
Collaborator

okay, I guess we have to handle the doc inclusion differently, but I may have an idea for that

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

Successfully merging this pull request may close these issues.

2 participants