[#wfdev] nikclayton opened #80: data: URIs are incorrectly stripped https://writefreely.org/issues/80
@writeas_dev Post text is stored on DB, right? As longtext or blob? In snap.is the images are stored on filesystem?
I think that storing data URIs inside longtext fields will hurt DB performance in comparison with a dedicated blob field or FS storage.
@Cochise Yep, stored in the DB as `text`: https://github.com/writeas/writefreely/blob/v0.8.1/schema.sql#L139
For Snap.as images are stored on the filesystem / with an efficient delivery system. I agree data URIs aren't the best solution for photo hosting -- both for storage and for reading content (since the data can't be cached).
Could use some input on this. Would data URIs be useful for you in WriteFreely? Or not needed?
https://writefreely.org/issues/80