Solved

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

Posted on 2010-11-25
1
834 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
The purpose of this video is to demonstrate how to Import and export files in WordPress. 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 : Click on Too…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now