Solved

WP sites (on Ubuntu) slow on first access??

Posted on 2010-11-25
1
841 Views
Last Modified: 2012-05-10
Hi,

I'm migrating my WP sites from Windows & IIS to Ubuntu & Apache. So far, so good but I've noticed one annoying problem:

When accessing a WP site on that new Linux server for the first time (or again after 'some time') it takes about 7 seconds to load!! After that, and for that session, it's super fast. But it's annoying that it's so slow when first accessing it!?

Is there anything I can do about that?

Thanks a lot!
0
Comment
Question by:Xeronimo
1 Comment
 
LVL 15

Accepted Solution

by:
AndyBeard earned 500 total points
ID: 34213977
The simple answer is
http://wordpress.org/extend/plugins/w3-total-cache/

That is going to handle opcode, db and page caching which will speed things up a lot.

Then you might look at page optimization

http://code.google.com/speed/page-speed/
http://developer.yahoo.com/yslow/
http://www.webpagetest.org/

Here is an example of how fast you can get things working
http://www.webpagetest.org/result/101111_BEVE/

The first time a page of 100% unique content is loaded, it isn't cached, so you will have some ovehead - that can't always be improved, but it is being helped by opcode and db caching.

Note: I found disk caching to be better on my server, and to get the time to first byte down and optimize resources a little better I also have nginx set up as a reverse proxy to apache.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wordpress Horizontal Drop-Down Menu In this tutorial I will show you had to add a WordPress horizontal navigation menu to your theme. I have searched and searched for a good tutorial on creating a WordPress nav menu without adding a plug-in or us…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question