I must admit making the front page of Digg.com wasn’t the nail biting experience I expected.
$ grep "GET /2007/11/05/wordpress-super-cache-01/" access.log.1|grep digg -c
My Super Cache announcement only drew 4686 visitors which is an ultra-light Digg. The Digg page for the post received 808 diggs as of a few minutes ago which is great. Thank you for voting! Judging by the sheer number of comments on that post, there’s a lot of interest out there in the plugin.
What about traffic graphs? The spike at the end of the first graph is my nightly Backuppc service kicking in. The second is from Google Analytics. My server could certainly handle a lot more traffic!
A quick look at my uptime shows the server hardly broke a sweat dealing with the extra traffic except where some idiot spammer bots tried to download my archives a few times. Unfortunately the first time that happened the archives weren’t cached and the load climbed.
For maximum performance, download Xcache and install it. The Xcache WordPress plugin uses Xcache to cache data structures and makes WordPress much faster, even if you don’t use any other caching tool.
33 thoughts on “How well did Super Cache handle the digg?”
Hmmm, I was expecting a bit more than that to be honest. In fairness, due to the nature of the story (non-apple) it probably didn’t get as much as a “normal” digg.
There was a lot of talk in the comments about the speed you served the page, I am assuming that you had/have xcache running?
Yes, Xcache is installed and I’m really impressed with it and the WordPress plugin. The one thing that worried me about the Digg was the effect people leaving comments would have on the site. The more conversation on that post the more often the static page would have to be regenerated. That’s why it’s important that PHP runs as fast as possible, even with static files being served.
Just to let you know, your blog may be behaving abnormally. I just got a comment notification for something I’m quite sure I never commented on (http://ocaoimh.ie/2006/11/26/how-to-make-cocaine/); I’ve never gotten any other notifications for it, either. No idea is this related, and I don’t see how it could be, but thought you’d like to know something was acting weirdly.
I was thinking of checking super cache out. About the only thing stopping me is that my own site is cached twice already. First with eAccellerator and then by Squid.
Does super cache play nice with eAcellerator?
Robert Synnott – Oops, that’s a bug in the Subscribe to comment plugin. If I moderate a number of comments at the same time from different posts it gets confused about who to send notifications to. I just upgraded the plugin so hopefully that will fix that!
Robert – it plays extremely well with Eaccelerator. I used that opcode cache before moving to Xcache and it was fine. Squid will cache the html files extremely well too 🙂
i`m using it with apc cache on my little server and it works really nice – just recognized, a new post doesn`t clear the cache since super-cache v0.3..
Sara – can you try posting again? Maybe it was an unlucky glitch? This post appeared immediately after I published it.
I`ll try to post something again (of course there will be news about usa or turkey today.. 🙂 ) and i`ve changed from apc to xcache because of the positive opinions here.. let`s see. 🙂
hm i tried it with a new post but it still just appears on the startpage if i clear the cache after posting, with 0.2 it immediatelly appeared, i`m confused.. 🙂
Gotta admit that I’m more concerned about Backuppc taking four hours to transfer.
its more confusion because comments are refreshing immediatelly.. maybe its because i`m using the nightly trunk of wordpress, so.. just wait and see.
have a nice day, all together 🙂
this plugin works fine on my new wedding blog. pages load fast. thanks for good work
Uhmmmm… I installed Xcache and I see no difference. my hosting interface is cPanel.
here’s the info:
cPanel Version 11.15.0-RELEASE
cPanel Build 17665
Apache version 2.0.61
PHP version 5.2.4
MySQL version 5.0.27-standard
Operating system Linux
Shared Ip Address 126.96.36.199
Path to sendmail /usr/sbin/sendmail
Path to PERL /usr/bin/perl
Kernel version 2.6.9-023stab044.
cPanel Pro 1.0 (RC1)
Am I using the right cache program here?
Absolutely wonderful! Also, thanks for the link to the XCache mod for WordPress. I’ve been using XCache for a while now and was actually considering creating a plugin to store data in the Var cache. That link just saved me a couple hours of work figuring out how to do it.
Hi… I installed supercache .1 and I see there is .3.1, but there is no explaination of what changed (no version logs)
I came here and I found that you recommend Xcache too. Is Xcache compatible with supercache and if so how are they different?
i ve got some blogs running and with the xcache 2.0.0-dev some blogs with the xcache plugin give me a blank page at load.. whats your xcache settings in php.ini and do you have some special hints?
what kind of hosting (dedicated/shared/company/etc) do you have? I’m curious b/c I hit the digg homepage yesterday as well … for like ten minutes before my site shut down and then I quickly moved off of it (which sucks) – this is the second such time that my webhost hasn’t been able to handle an influx of traffic and led to nonresponsiveness (or worse) – I’m getting tired of the fact that nearly anytime I get a good link (digg, collegehumor, sportsillustrated.com, whatever) my site crashes and I lose that big traffic opportunity – the first time I didn’t have wp-cache enabled – yesterday, I did, and from the digg comments it looks like that even when the diggs were only up to 70, the site was gone (http://digg.com/music/The_Top_10_Rap_Songs_White_People_Love_2)
I will be looking at super-cache and other ways to try to improve loading, but I’m thinking the real significant change I’ll need to make is in host (currently w/ DreamHost)
Brian – this site runs on a Linode 600 VPS: http://www.linode.com/products/linodes.cfm
Sara – I’m using the stable Xcache 1.2.1 and it works fine.
Christopher – look at Changelog.txt in 0.3.1 for what changed.
drmike – took quite a while didn’t it? It took just over 3 hours actually as it was doing a periodical full backup.
Donncha, what are your xcache php.ini settings? (without admin 🙂 )
I installed the updated version on one of my blogs. It made me recreate the advanced-cache.php file that the first version’s readme file had me eliminate. It seems to be working.
I’m putting the duration much higher than the default. I’m setting the supercache to 24 hours and the other cache to 3. Hopefully that will reduce Bluehost’s CPU use complaint. Thank you for the plug in.
ok, i`m using 1.2.2 now (changed from 2.0.0-dev) and everythings working fine know (i think), thank you 🙂
Unless you’re a tester you shouldn’t be using any version of XCache other than the stable release (currently 1.2.1).
Since this is kind of off topic for this post, if you want to know more about my XCache configs (I run XCache on close to 20 web servers) then email me using the contact form on the “About” page on my web site.
Thanks for this plugin! I went from 76 requests a second (tested with ab2) to 567 requests a second running just your plugin. (Installing APC/Xcode has been on my agenda, but I never got around to it.)
Your site seems to have held up well, but I wonder about your comment regarding the overhead of regenerating the cache every time someone leaves a comment… I wonder if it would make more sense to add a little logic that keeps a cached page from being updated more than, say, once every 60 seconds? (Maybe the interval could be user-configurable.) The risk of someone loading a cached page and missing the latest couple comments is a small price to pay for the site staying up in a storm.
But that’s just for extreme situations. Things are about 800% faster using your plugin. Thanks again!
Good Morning Jason, Donncha,
thanks for all your reply and work – xcache and super cache are working just fine now – i think it really was related on the dev 2.0.0 of xcache – 1.2.2-dev just works great but i think the xcache optimizer will only be a good choice in 2.0.0 because in all 1.2.x trunks it does nothing in my mind, does it?
Jason, i`m going to contact you, thanks for it!
Have a nice day! 🙂
I’m using the development version here and it’s working fine… honking right along.
maybe it`s a good idea to change from get_settings() to get_option() in wp-cache and phase2?
Just thought I’d update you on the Super Cache problems I’ve been having:
For some reason the feeds are the only things caching??
Even though my website is new and not having so much traffic, I still have the plan to use your super cache. Love to hear your success story. Cheers, Binh.
It would appear that the front page is never cached using Super Cache, yet that is the one that I really need cached… any ideas?
http://www.techdeals.net is the site.