We have our production infrastructure in AWS. The servers are located in Ireland (eu-west-1) and our customer base is in UAE and Saudi Arabia. Our application is PHP based (Symfony + Yii).
Recently, we deployed the JWT token functionality and we started facing slowness issue. The requests would take ~2 minutes to load.
After much investigation we found that this was happening because of jwtTokenCookie
in the browser cookie. We tried with / without any random large cookie and this affected the slowness issue.
This happens only in UAE and Saudi Arabia, but not in Germany and Poland, for example.
- Dubai + Large cookie = Slowness issue
- Dubai + No large cookie = No issue
- Poland + Large cookie = No issue
- Poland + No large cookie = No issue
- Dubai (Germany VPN) + Large cookie = No issue
- Dubai (Germany VPN) + No Large cookie = No issue
Please help!