Why is my request in GET, PUT, POST, and Delete slow

46 Views Asked by At

So im running Laravel and React for this and i also use docker for running my laravel so specifically laradock its like this

enter image description here

my main problem is when im logging in or any type of request it takes too long for it to load or complete the request and also i run the own url in my localhost i use http://gjjsp-backend for this and i change the 127.0.0.1 to that url why it slow in completing the request

for context this is my .env file

APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:Jbpp1zZPFG9/t31vnPRUBf1KPssoFZXMkbb5Qi26pMI=
APP_DEBUG=true
APP_URL=http://gjjsp-backend
FRONTEND_URL=http://localhost:3000/
SESSION_DOMAIN=http://gjjsp-backend
SANCTUM_STATEFUL_DOMAINS=http://gjjsp-backend
SESSION_SECURE_COOKIE=true
SESSION_LIFETIME=30

0

There are 0 best solutions below