Hello guys, I am here again, with another banger . Prismic sends image URLs without being encoded. We know that Imgix uses commas to separate image scale parameters, but then, prismic does not encode these characters.
When you use it inside a
picture source element, as the srcSet, the browser misunderstands the URL since commas are used to specify image density and width parameters. Oh well, the end-user can do this encoding right in the browser, but this can slow down the website.
I don’t know if I am explaining this correctly, but you should understand.
Prismic should encode all image URLs in the returned results to avoid misrepresentations.
Another side note, Prismic servers should support gzip encoding to save bandwidths. It is not good that graphql results are not compressed/gzipped. this is very important