Why my TTFB is so high after CDN, Memcached and 2GB Ubuntu 16.04 Server?

May 21, 2017 1.5k views
Server Optimization WordPress Ubuntu 16.04


I’ve a 2GB RAM Ubuntu 16.04 server running a WordPress site. The site has maximum 300 visitor/day. Avg 220 visitors/day. I’ve MAXCDN setup there, Memcached installed to serve pages from cache, WordPress Caching Plugin W3 Total Cache Installed. Still, My site take 8 - 12seconds to load :( I’ve apache2 server running.

The server uses 33% storage, 50/58% memory, CPU Use avg. 10/15%.

Top Process:
Apache2 52%
MySQL Server 23%
Memcached 2$

I was working to keep it under 2/4seconds max. Here is the graph to make it more

I was trying to move MySQL to a different private server but I was unsuccessful and kept all the services in the same server.
Here is what I’ve in plan:

Plan 1:
If I move MySQL and Memcached to a different server, will I get a better result with Apache2 ?

Plan 2:
Or should I move MySQL and Memcached to a different server and Use Nginx as web server?

My Goal is to make the website blazing fast.

1 Answer

As a idea
Plan 3

  1. Ensure your version is PHP 7.1
  2. use mod page speed (disable W3 TOTAL Cache and memcache)
  3. Optimize/Minimize your themes PHP files (Changing theme or making your own theme other solutions)
  4. Check your header and footer.php, clean unnecessary requests
  5. Uninstall unnecessary - not important plugins from Wordpress
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!