I’m trying to upload Image, Video, and 3d models into IPFS but it seems to take a lot of time.
I’ve tried uploading Images ranging from 100-200 KB and it basically takes 4-5 seconds to upload the image. Whereas, uploads of video and 3d model takes around 15-30 seconds for 5-12 MB files.
// Uploading thumbnail to ipfs const thumbIpfs = new this.$moralis.File(thumbnail.file.name, thumbnail.file) await thumbIpfs.saveIPFS() // Uploading video to ipfs const videoIpfs = new this.$moralis.File(video.name, video) await videoIpfs.saveIPFS() // Uploading 3d/AR model to ipfs const glbIpfs = new this.$moralis.File(ar.glb.name, ar.glb) await glbIpfs.saveIPFS()
I use the code above to upload the files. Is there any way to improve the upload & download performance for it? or should I just opt to uploading the file in my private server?
Thank you for the help!