Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-11-25
1
Medium Priority
?
860 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 2000 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

963 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