1
How best to store images?
- In a special directory, for example:
public/images
; - In
base64
, on a data basis; - Another way (which I did not quote earlier).
And why?
Note: I am using a Mongodb database.
1
How best to store images?
public/images
;base64
, on a data basis;And why?
Note: I am using a Mongodb database.
Browser other questions tagged web-application image storage
You are not signed in. Login or sign up in order to post.
This depends on which bank will be used, in
NoSQL
firebase offers Storage Mongodb offers Gridfs, atSQL
may also vary according to the chosen bank– Costamilam
I updated the question.
– Luiz Felipe
Related: What is the encoding for in Base64?; Save Base64 image to bank or upload; Save the binary content of an image in the database
– Valdeir Psr
Research on "Image CDN" may interest you depending on your project. And remember that Base64 is not in cash, it will always be a new request, and for images smaller than 5kb is not usually worth it
– hugocsl