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

chore: add unstable_runtimeJS to speed prerender app #2447

Merged
merged 1 commit into from
Apr 8, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented Apr 8, 2023

What does this PR do?

πŸ€– Generated by Copilot at c753fb2

This pull request disables the runtime JavaScript for two page components, posts/[id].tsx and u/[handle].tsx, in the prerender app. This improves the performance and SEO of these pages, as they only render static content.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

πŸ€– Generated by Copilot at c753fb2

  • Disable runtime JavaScript for two static pages (config in link and link)

Emoji

πŸš€πŸ•·οΈπŸ”₯

@vercel
Copy link

vercel bot commented Apr 8, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
prerender βœ… Ready (Inspect) Visit Preview Apr 8, 2023 1:45pm
web βœ… Ready (Inspect) Visit Preview Apr 8, 2023 1:45pm

@vercel vercel bot temporarily deployed to Preview – prerender April 8, 2023 13:44 Inactive
@bigint bigint enabled auto-merge (squash) April 8, 2023 13:45
@bigint bigint merged commit 93920e6 into main Apr 8, 2023
@bigint bigint deleted the use-unstable_runtimeJS branch April 8, 2023 13:52
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.

None yet

1 participant