Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-11-25
1
Medium Priority
?
855 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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…
Suggested Courses

688 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