Since I’m thinking of changing my CDN (Stackpath) and I know that Discourse dynamically sets the CDN URLs in links, I did nonetheless a search for the string “stackpath” in my forum’s posts to see how many occurrences there would be.
It returned between 300 and 400 posts.
I downloaded the data, and I was surprised that it’s almost a 100 MB file!
Apparently, it’s because images in posts sent by email seem to be present as base64 strings in the raw_email field.
So… As I see it, it doesn’t seem to be an issue really, but I’d like to have some clarifications about this.
Why are images stored like this in the raw_email field? Is there no better way to do so?
Can it impact performances in any way? What about forums where a lot of people reply by email and with images involved? Could we consider that it takes too much space for not much info?
Any explanation or additional information about that is welcome.