Replies: 1 comment 1 reply
-
One down side is it incurs a serverless function hit for every media item that you serve. On hosts like netflify and vercel, you have a quota for both cached and uncached hits. While the cost for cached hits is low, it might add up over time. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I notice that the proxy of media item requests has been disabled / removed here, I would just like to know the recommendation now regarding this one - https://doc.sitecore.com/xmc/en/developers/jss/22/jss-xmc/troubleshooting-jss-next-js-apps.html#sitecore-images-dont-load-on-localhost
So setting the IncludeServerUrlInMediaUrls to false will no longer work on dev or in prod.
In particular, I'm interested to know the rationale of why this is a bad idea in prod, as the benefit of it is that all media links get the custom domain automatically without needing to bind a custom domain to Experience Edge.
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions