Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Atef95's avatar

Slow response issue

Hey guys..

I have my laravel app running perfectly on local enviroment..

I recently uploaded my work in production and Im facing an issue with slow responses.. One image upload takes 5 secondes on average.. What can be causing that ??

0 likes
5 replies
jlrdw's avatar

Are the images being optimized for the web.

1 like
Cronix's avatar

It could be your home computer is just a lot more powerful than your "server." What kind of server is it? Is it dedicated or shared? How much ram? What cpu? Start by comparing the hardware it's running on. If it's shared hosting, you're sharing the cpu/ram with others and get even less out of the server than the raw specs would show.

1 like
Nakov's avatar

And just to add to the list, it might be the upload speed of your internet as well :)

1 like
siangboon's avatar

it may be the network speed or latency also...

1 like
Atef95's avatar

@cronix it's a vps..

I typed free-m and I got this following result

                   total        used        free      shared  buff/cache   available
                    1952         312         782          34         856             1400




These are some hardwaare informations of CPU

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 60
Model name:            Intel Core Processor (Haswell, no TSX)
Stepping:              1
CPU MHz:               2992.946
BogoMIPS:              5985.89
Virtualization:        VT-x
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
NUMA node0 CPU(s):     0

Please or to participate in this conversation.