Saving images: files or blobs?

后端 未结 11 2225
暖寄归人
暖寄归人 2020-11-30 07:59

When you save your images (supose you have lots of them) do you store then as blobs in your Database, or as files? Why?

Duplicate of: Storing Images in DB -

11条回答
  •  借酒劲吻你
    2020-11-30 08:27

    Blobs can be heavy on the db/scripts, why not just store paths. The only reason we've ever used blobs is if it needs to be merge replicated or super tight security for assets (as in cant pull image unless logged in or something)

提交回复
热议问题