Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

911 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

20 Experts available now in Live!

Get 1:1 Help Now