Join the Webstudio community

Updated 7 months ago

Separate Question for Media Pulled from a CMS

At a glance

The post asks whether media pulled from a CMS is cached in the Cloudflare CDN on hosted Webstudio, and how linked media/images in CMS rich text are handled. The community members discuss that images in CMS fields are cached and optimized, but rich text content is just output as-is without manipulation. They mention plans to potentially support optimizing images in rich text/markdown in the future, possibly by adding JSON to HTML converters. The community members also discuss updating the documentation to clarify the image handling behavior.

Useful resources
Separate question—for media pulled from a CMS, does that get stashed in Cloudflare CDN (on hosted Webstudio)?

What about linked media/images in CMS rich text?
J
p
O
9 comments
img fields, yes. Rich text, no.
For imgs, they go through the WS img component which has optimization.

Rich text we just output the html as is and apply styles so theres not manipulation to the img url. I can see us supporting this in the future though especially if we add JSON > HTML converters. Maybe it's possible on the Markdown one too
awesome, thanks for the clarification!
@John Siciliano do we have that info in the docs? seems important to mention there
Had to check. I do have it in the optimize image section https://docs.webstudio.is/university/core-components/image#optimize.

I'll add hints on the content and markdown embed components though that imgs are served as is
Is there an issue yet to follow for optimizing images in rich text/markdown, or is it just theoretical at this point?

I can see us supporting this in the future though especially if we add JSON > HTML converters. Maybe it's possible on the Markdown one too
I added a comment to the JSON one https://github.com/webstudio-is/webstudio/issues/3398

I think that will be the most probable format for this to occur, but can't say forsure
great, following!
Add a reply
Sign up and join the conversation on Discord