-
Notifications
You must be signed in to change notification settings - Fork 45
Cloudflare: Add image optimization docs #197
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
Conversation
pages/cloudflare/howtos/image.mdx
Outdated
|
|
||
| ## Image Optimization | ||
|
|
||
| Next.js has a builtin [`<Image>` component](https://nextjs.org/docs/pages/building-your-application/optimizing/images) to automatically optimize your images for faster page loads. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add a note here saying that optimizing images with the adapter requires either an image binding or a custom loader and if none are provided, images are served unchanged
vicb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks great.
One comment/suggestion for the intro
|
@vicb Updated the PR! |
|
Actually you could also update the getting started at https://opennext.js.org/cloudflare/get-started#3-create-a-wrangler-configuration-file. |
|
@vicb Updated the get started page as well |
Add docs on image optimization API (opennextjs/opennextjs-cloudflare#999).