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

feat: perf #36

Merged
merged 17 commits into from
Oct 30, 2023
Merged

feat: perf #36

merged 17 commits into from
Oct 30, 2023

Conversation

loks0n
Copy link
Member

@loks0n loks0n commented Oct 27, 2023

Fix some performance issues

@vercel
Copy link

vercel bot commented Oct 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
built-with-appwrite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2023 1:41pm
builtwith ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2023 1:41pm

mangle: false,
headerIds: false,
});
const html = marked(project.description);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are false by default now.

Comment on lines 10 to +19
rollupOptions: {
input: ['src/entry.vercel-edge.tsx', '@qwik-city-plan'],
external: ['util'],
},
outDir: '.vercel/output/functions/_qwik-city.func',
},
plugins: [vercelEdgeAdapter()],
ssr: {
noExternal: true,
},
plugins: [vercelEdgeAdapter(), viteNodePolyfills()],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vercel Functions does not have util module. We have to polyfill it.

Copy link

@TorstenDittmann TorstenDittmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some questions.

Unrelated, we could use https://vercel.com/storage/blob to make the image proxy even faster 👍🏻

src/components/layout/Project.tsx Show resolved Hide resolved
src/components/layout/Project.tsx Outdated Show resolved Hide resolved
src/components/layout/Project.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@Meldiron Meldiron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. If you have some performance numbers about before and after (build / init load / ...), pls attach to PR.

@loks0n loks0n merged commit 505e3de into main Oct 30, 2023
3 checks passed
@loks0n loks0n deleted the feat-perf branch May 7, 2024 21:51
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.

3 participants