Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

Symfony 4 post request too slow

$
0
0

It's my first time here :)

I'm making a website in Symfony 4. My problem is that forms take a long time to be submit. When I submit one of them, I wait between 5 and 20 seconds before the form ends.

I have this problem in local and prod. But in dev, forms submit instantly.

Prod and dev are in the same server (Debian 10, PHP 7.2, MariaDB 10.3) and have the same code, currently. I copied the prod database in dev to get the same amount of data.

When I watch the DOM Network of my browsers (Chrome or Firefox), i can see a post request that takes a long time to complete with 302 reponse.


Viewing all articles
Browse latest Browse all 3925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>