Question

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

Posted May 21, 2017 1.6k views
Server OptimizationWordPressUbuntu 16.04

Hi

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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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
Submit an Answer