WordPress on Openshift, very slow to respond

I’ve just moved my WordPress website on OpenShift PAAS ecosystem, on a scalable PHP cartridge. But I immediately noticed the website is really slow to respond – around 3000/4000 milliseconds. BUT, when it starts to respond, the page loading/rendering is absolutely fast.

here’s the url: http://gabrielebaldassarre.com

Read More

just to give you a comparison, this static website is hosted on the same AWS Region: http://extras.gabrielebaldassarre.com/tos5-4

For that reason, I pointed this bottleneck to the nameservers I use (from Cloudflare, because of naked CNAME needs), but using a online tester, they seems ok.

I wouldn’t say that my WordPress is a vanilla config, but it’s not a mammoth, after all. And loading time after response starting is ok.

I’m wondering if there is something wrong with HAProxy, or my OpenShift configuration, but I don’t know how to check or what to do about.

any idea?

Related posts

Leave a Reply

2 comments

  1. Openshift suspends and serializes apps without much activity after a given period, and the first time they ‘wake’ they deserialize and this takes time.

  2. Since your a free user, I’m assuming that your application is deployed on small gears. Depending on the size of your application, that may not be enough. Try signing up for the bronze plan and see if your application performance improves on a medium or large gear.