Answers from the community about Asset CDN

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Slack to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
Hey! We're fetching responsive images from <http://cdn.sanity.io|cdn.sanity.io> using `@sanity/image-url` to generate query...2Jan 21, 2021
Request for clarification on assetDocumentID in Sanity's custom asset sources documentation2Apr 30, 2020
Discussion about implementing a cname asset domain in Sanity.io2Apr 15, 2020
Troubleshooting local plugin development for Cloudinary asset source in Sanity22Jul 1, 2020
How do I render the image in Sanity blockcontent into a custom image component?5Nov 28, 2020
Hey guys, does sanity have some kind of caching mechanism on request? im using the `@sanity/client` in a rn app; the issue...11Jan 3, 2021
Converting SVG to raster format using Sanity asset pipeline8Apr 23, 2020
High bandwidth usage on Gatsby site with Sanity CDN images30Mar 25, 2021
Discussion about error connecting to Sanity API and potential solutions23Jun 3, 2020
Discussion on GROQ behavior and implementation choices in Sanity.io API36Mar 31, 2022
Discussion on using next-optimized-images with Sanity's CDN and potential issues with next/image and lazy loading.37Feb 23, 2021
TextureLoader Error: "Access to Image at 'https://mydomain.com>' Has Been Blocked by CORS Policy"5Aug 11, 2021
Preserving image filenames in Sanity CDN URLs for SEO visibility7Apr 28, 2021
Error with createImageUrlBuilder function in Sanity.io project6Mar 13, 2022
Discussion about adding brotli compression to Sanity's CDN25Mar 4, 2021
Troubleshooting undefined data in Next.js and Sanity integration18Jul 6, 2022
How to use the CDN in a query string for the frontend.4Aug 25, 2023
Troubleshooting image rendering in Sanity.io, with guidance on resolving asset references and using @portabletext/react.69May 13, 2022