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

Suggestion: Use adapter-static instead of adapter-auto for serverless deployment #67

Open
usr3 opened this issue Aug 22, 2023 · 1 comment

Comments

@usr3
Copy link

usr3 commented Aug 22, 2023

Since the app doesn't use SSR, using adapter-auto is unnecessary and has a cost to it. For example, deploying to Cloudflare pages with adapter-auto will incur worker invocations per request.

@sheodox
Copy link
Owner

sheodox commented Sep 1, 2023

I've been going back and forth on this. On the one hand you're right, it does use up worker invocations, but on alexandrite.app I basically never get any more than 5-10% of the daily limit for the free tier for Cloudflare Pages, so I've yet to get anywhere near to the point where I'd have to spend any money on hosting.

Additionally I've been considering adding some SSR (with an option to disable it for self hosters) so links to posts can include social meta tags, that way links sent on chat apps can generate a preview, but I haven't made a final decision about it.

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

2 participants