Hi guys, I have the following problem, I have a kind of dashboard that at the time the user uploads an image is saved in a folder on the server, at the time the user sends the form data, they are sent by JSON to a route of Laravel so that it keeps the respective data. In localhost I had no problem with this, in fact I could send images up to 100mb and it was super fast. At the moment that I migrate to the server, I see that the moment it sends the JSON takes too much time, I say that at least send 5 images can take me up to 8min. I think the problem is sending the whole large amount of coding 64-bit images that cause me delay on the server. But I'm not sure if that's the cause. Does anyone have an idea?
Example JSON for one image:
body: x
code: 2
comments: asd
doors: 2
drive: x
engine: 2
exterior: x
fuel: Hybrid
interior: x
mainImg: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4pLSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0//wgARCA2AEgADASIAAhEBAxEB/8QAGwAAAgMBAQEAAAAAAAAAAAAAAAQBAgMFBgf/xAAXAQEBAQEAAAAAAAAAAAAAAAAAAQID/9oADAMBAAIQAxAAAADpASAAAAAAARIAARIESAAgEBIAAACgAABAARJAFhMSRJEoEgAAAAAAAAABMSQABMAATABMSQAAAAAEEgETEhBIEBIQACSRIBCgAAAASRJExIAAAETBIAAAAAAAAAAAAAAAAAAAAAAABQBAAoAAAAAAAAAAAAAAAAgAA…hIhMDFAYKBBUMCw0P/aAAgBAwEBPwD+OfrDD+BmP+jtXFly53oOi9y5eUgSowacGii4vjqUYuGiTGXBwcTk0TY4GDB4Li6LJEiZGDLlx7UuEMGibhMjLl4IRgfCbly+ZSSo9mVKlZCekIfBrl4cXB5mVKlSpWQ+DLgxU7s7srF4OZVSpUqV8HZcHiWXBg80j4Gy52WDwLFwQhooxMHah2pcuLLhAhDRRjElQUnfneg3AlQhooy7zUezO7AgQwENFHHrwVKwQNF0lcHhPCeGjtSpX+18f4f5pAdV56sJ9Z8+42cwjSA0gOh+dV86r5zdHq41+wOgefsDSA0gPrhmnJ9WE/mgD6lR0Qjogmybo86PGj5n8x0dMMcnIw5HmXBo+8mr5AOkVfPjpw+ujB5d+SaKhpB+OB0IvhPINFqle0NHz1l4LrRW+McevP8ArBxHtzLEGfjnzcMdlvFQx+ff2wYYr5yfPUJRCNEfYmTiPIDHhz2MMMX+mNGjXv8A/9k=
Uploading stuff on localhost would of course be really quick because it's not going through your internet connection and the speed is not limited by anything (except by your PC specs).