I'm trasfering this website from Media Temple hosting to Digital Ocean. I plan to move the website from MT to DO to increases performance, I create a stage area on digital ocean. I had 18 seconds of wait time until the browser load the website from DO, according to Pingdom.
Digital ocean hardware are x3 powerful then Mediatemple(shared hosting) and this droplet had only this website(2 GB RAM, 2 core Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz, 40 GB SSD).
Debug already done:
- Switch between PHP version from oldest to newest, actually i'm on version 7.1;
- No timeout detected;
- Slowest query 0.9 sec
- Server load time 0,5 sec
- No php Warning;
- A read a lot of situation similar to mine here on server fault, no solution found (Apache restart, ssl issue, DB issue and caching );
- Test website on localhost, no issue detected.
Hypothesis #1:DNS cause waiting issue - I'm on cloudflare and I manage this subdomain from DNS record panel.
Hypothesis #2:Mediatemple has polluted the code with proprietary libraries.
Hypothesis #3:Apache has an issue when resolve hostname