I’ve tried optimizing various aspects of the site, with the exception of some stuff like image compression (I can’t compress too much), and third party javascript (like the Disqus commenting system), everything is pretty much maxed according to my knowledge:
caching objects, page, browser, database with APC cache
setting up expiry headers for cache
CDN implementation
minifying CSS and JS
The site is a wordpress site on a dedicated server with a rackspace CDN and the W3TC plug-in. The only thing that I can’t seem to shorten is the Time to first byte, as well as well as start to render time. One thing I just noticed is that static image files don’t seem to be cached and I wonder why, since I’ve set them to be cached.
Are you running the main site through the cdn (www.headfonia.com) or do you have a separate domain for the static content that is being routed through the CDN? It’s possible that the CDN is adding to the first byte times for the non-cacheable HTML. If not then you should turn on the W3TC debugging because those times are way longer than what I’d expect to see for a site where the page, objects and database queries are being cached by APC.
It also looks like beyond the first byte time, the rest of the base page took longer to generate than it should (looks like there was an early flush and then another 1.5 seconds before the rest of the base page was actually sent).
You might want to look into turning on logging of the server-side processing time in your access logs which will help narrow it down a bit (it will let you know if the time is coming from something in front of the server or on the processing itself).
If one.headfonia.com is the cdn then you should move the timthumb, css and js requests to the CDN as well.
Thanks patrick, I don’t run the main site through the CDN (is that possible to configure, would you recommend that?)
I’ve just edited the test results with the latest one, I don’t know what is wrong with the ones I posted, like you said there is a flush.
As for the timthumb, I don’t think it can be moved to the CDN. I’ll try moving the CSS and JS to the CDN. I will also try turning on the W3TC debugging.
Patrick, here is the debug information:
[hr]
I don’t know why but JSS and CS minified files can’t be served from the CDN now. I can’t turn the checkboxes on.
You should also gzip your basepage! Apparently it currently is not gzipped. Gzipping it would drop its compressed size down to 11kb, compared to its current size of 49kb. This should improve Time-to-Render quite a bit.
Thanks Leptien,
I have set the gzip compression on for html & xml, css & js, and media and other files through W3TC, but apparently they still don’t gzip the basepage. Then how can I gzip the basepage?
By the way I have page cache turned on for everything except the basepage, as I need the banner ads to rotate and I can’t do that if the page cache is turned on.
Also another weird thing that I notice is that I’ve set W3TC to load from CDN small graphic files that is used by the theme (such as search icon, loading graphic, arrows, etc) but the test reveals that those graphic files are still fetch from my server. These are one of the files I am talking about:
[hr]
Patrick, here is what my hosting support staff said about the slow time to first byte:
The delay looks to be coming up due to the number of DB queries that the
main page is making to load. In my test this morning, a single request to http://www.headfonia.com/ needed 128 queries on the DB before it loaded.
You may want to check to see if any of that content could be cached, or
otherwise if there are any plug-ins or features for WP that are requiring
heavy DB interaction that could be removed or perhaps just moved to
sub-pages off of the main index page. Otherwise, the server load, RAM usage
and disk I/O all appear to be fine. The site isn’t hitting hardware
bottlenecks.
I don’t understand why this is since database cache is supposedly on with W3TC.
It doesn’t look like the database queries are actually getting cached:
Engine: apc
Total queries: 127
Cached queries: 0
Total query time: 0.4854
Try connecting to the site with a browser that isn’t logged in just to make sure (cache is usually bypassed for logged in users).
With the size and number of things that it looks like your site needs cached you may also need to take a look at the APC diagnostics - if you’re just using the default 32MB cache then I wouldn’t be the least bit surprised if you’ve blown right through it.
By FAR, the most expensive queries to the database look to be the ad rotation tracking (the log has the time for each of the queries). Looks like every query that hits wp_adrotate_tracker takes 30ms and there are quite a few. Indexes might help but you might also be better off if you can move the ad rotation off of the back-end and have that be completely separate (a front-end-initiated request to dedicated code either as an iFrame or javascript ad code). If you move the ad rotation code off of the back end you will also be able to enable page caching for the base page.
Thanks Patrick,
Yes that is weird how the database isn’t cached. I just made a post in the wordpress support forums regarding that, we’ll see what Frederick says about it. (I’ve tried doing the logs again from a different browser that is not cached – still the same result). Also the size of the APC cache is 128kb and last time I check it was on 50% free (which explains it since the database is not cached).
As for the ad rotation thing, I don’t know, moving it to a different system, that sounds REALLY complicated and way beyond my skills. Although now that I’ve seen the debug pages, I think yes you are right on that.
[hr]
Okay I did a few tests and I think I sort of understand why things aren’t cached. On the front page, most of the queries seem to be from:
adrotate plug in (lots of them)
the theme itself that lists a number of posts in a thumbnail format – they ask for a new query every single time.
the popularity posts plug in which lists the most popular posts.
At the moment I need to find a way to eliminate these problems, but at the same time I probably can’t start stripping off features off the site. This is not going to be easy.
I will try talking to the theme and plug in creators and see what they say about this.
lasix with an ace pelt
contact lenses after lasix surgery
what is lasix eye surgery
long term affect lasix use
how long does lasix surgery take
lasix as a renal protective measure
edema ankles lasix doesn’t help
dosing of lasix continuous infusion
can discontinuing lasix cause breathlessness
lasix 40 mg cheapest prices
lasix 75 mg of metolazone day
do over counter druse affect lasix - lasix pulmonary edema
park nicollet lasix eye surgery - lasix chf
back pain and use of lasix - dose of lasix does lasix clear your system
information on lasix the diuretic
anabolic steroid bloating and lasix
lasix eye surgery in evansville indian
minneapolis and lasix and $399
nebraska lasix surgery omaha ne
feline heart murmur treatment lasix
in conjunction with lasix therapy
can i have lasix eye surgery
taking both hydrochlorothiazide and lasix
lasix medication side effects contraindications
lasix by vbulletin intitle view profile
lasix on line without a prescription
dangers of enalapril and lasix
removal of lasix from chf protocol
nursing responsibility before taking lasix medicine
buy lasix without a prescription
park nicollet lasix eye surgery
lasix contraindications with vitamin mineral supplements
do over counter drus affect lasix
feline heart murmur treatment lasix
requirements for lasix eye surgery
lasix dieretic side effect hard stools
buy 40 mg lasix no prescription
minneapolis and lasix and $499 - lasix diarrhea
lasix the same as lotensin - contraindications of lasix
in conjunction with lasix therapy - lasix shelf life dosing of lasix continuous infusion
lasix eye surgery columbus ohio
lasix for fluid in lungs cats
edema ankles lasix doesn’t help
lasix for inner ear leaking fluid
maximum lasix dosage in 24 hours
lasix diurectic and the ear
lasix eye surgery in evansville indian
lasix pill to get high
blue cross blue shield lasix
lasix doseage in renal failure
generic drug name for lasix
does lasix make you sweat
gout and lasix and clonidine
lasix dosage 12 lb canine
lasix for mitral valve regurgitation
thoroughbred racing lasix drug use
no prescription lasix overnight delivery
do you lose weight on lasix
minneapolis and lasix and $499
iv lasix 5mg hr drip calculation
lithium and lasix taken together
rapid administration of iv furosemide lasix
herbal med comparable to lasix
order 50 mg lasix without prescription
lasix 75 mg of metolazone day
back pain and use of lasix
lasix buy online overnight ship
effects of lasix on blood pressure
study on combining spironolactone with lasix
diffence between hctz and lasix
lasix contraindications with vitamin mineral supplements
water pill other than lasix
lasix furosemide buy no prescription
lasix eye surgery in ocala florida
amount of potassium needed with lasix
price of lasix surgery pinellas county
lasix dose in cats with cardiomyopathy
lasix diurectic and the ear
does lasix promote weight loss
lasix for inner ear leaking fluid
side effect of lasix in cats
lasix and pregnancy test results
how does lasix surgery work
pass drug test with lasix - lasix picture
edema ankles lasix doesn’t help - lasix intravenous
lasix mg of metolazone day - lasix ototoxic no prescription lasix overnight delivery
lasix and proximal interphalangeal joint swelling
should potassiun be taken with lasix
mechanism of action of lasix
do over counter drus affect lasix
do over counter druse affect lasix
can i take lasix while breastfeeding
taking both hydrochlorothiazide and lasix
sside effects compared lasix torsemide bumetanide
can lasix surgery correct presbyopia
effects of too much lasix
best reviews lasix east texas
order 50 mg lasix without prescription
park nicollet lasix eye surgery
is lasix bad for my cat
buy lasix without a perscription
requirements for lasix eye surgery
lasix eye surgery in reno nv
thoroughbred racing lasix drug use
effects of lasix on hearing
side effects of the drug lasix
lasix and body building online
minneapolis and lasix and $499
feline lasix benefits and side effects
lasix for treatment of wet lung
lasix order online without prescription
taking lasix and spironolactone together
lasix buy online overnight ship
how much is lasix eye surgery
do i give lasix with food
what is mag 3 lasix scan
premedication lasix medicare blood transfusion
average cost of lasix surgery
world shortage of iv lasix
what is lasix eye surgery
lasix and lab values for potassium
iv lasix 5mg hr drip calculation
can i take lasix while breastfeeding
lasix fip cat pleural effusion
mt pleasant lasix dr greenburg
lasix eye centers in connecticut
zaroxolyn 30 minutes before lasix mechanism
lasix the same as benazepril
how soon does lasix take effect
dry cough with taking lasix
can i have lasix eye surgery
lasix with an ace pelt
mechanism of action of lasix
nuclear renal scan with lasix washout
lasix eye centre in ontario
lasix close forrest city ar
what is lasix made of
drug interaction between digoxin and lasix
lasix eye surgery lebanon pa
requirements for lasix eye surgery
pictures 3 days after lasix surgery
lasix eye surger jacksonville fl
what is lasix used for
interaction of lasix and fludrocort
potential toxic side effect for lasix
effects of lasix on blood pressure
lasix for inner ear leaking fluid
gout and hypoparathyroidism and lasix
thoroughbred racing lasix drug use
lasix eye surgery in evansville indian - lasix dosage dogs
what drug category is lasix in - lasix and magnesium
lasix eye centre in ontario - lasix teaching blue cross blue shield lasix
lasix and body building online
protocol for lasix diuril drip
gout and lasix and clonidine
contact lenses after lasix surgery
aproximate priceing for lasix eye op
lay down after taking lasix
how long for lasix to work
lasix doseage in renal failure
does lasix effect blood sugar levels
should potassium be taken with lasix
average cost of lasix surgery
low dose iv lasix dose
amount of potassium needed with lasix
can you develop immunity for lasix
canine side effects of lasix
cost of lasix eye surgery
premedication of lasix between blood transfusions
pass drug test with lasix
pros and cons of lasix
gout and hypoparathyroidism and lasix
should potassiun be taken with lasix
nuclear renal scan with lasix washout
premedication lasix medicare blood transfusion
dry cough with taking lasix
fluoxetine spironolactone felodepine plendil lipitor lasix
lasix side effects discontinuing use
lasix 40 mg cheapest prices
lasix eye surgery corpus christi tx
fluid build up treatment with lasix
most common side effect of lasix
using lasix in sortness of breath
liquid form of lasix for cats