New Caching System for Wordpress: Batcache

By jaymis

Peter isn’t quite in the habit of sharing our internal CDM research and communiques to the rest of the world, so I’ll re-post his words:

Another caching solution for WP. This story also goes through some of the more generalized performance issues with WP and other solutions…
http://andy.wordpress.com/2008/06/22/batcache-for-wordpress/

This is the system they use for Wordpress.com:

Batcache implements a very simplistic caching model that shields your database and web servers from traffic spikes: after a document has been requested X times in Y seconds, the document is cached for Z seconds and all new users are served the cached copy.

New users are defined as anybody who hasn’t interacted with your domain—once they’ve left a comment or logged in, their cookies will ensure they get fresh pages. People arriving from Digg won’t notice that the comments are a minute or two behind but they’ll appreciate your site being up.

You don’t need PHP skills to install Batcache but you do have to get Memcached working first. That can be easy or hard. We use Memcached because it’s awesome. Once you know how to install it you can create the same kind of distributed, persistent cache that underpin web giants like WordPress.com and Facebook.

Interesting. Will probably be giving this a spin soon.

Comments Containing URLs and Over a Certain Length Not Showing Up in Wordpress

By jaymis

Since upgrading to Wordpress 2.5 we’ve had some issues with certain comments not showing up on the site. These comments exist in the database, they can be edited, and their author details appear, but the actual comment text doesn’t appear on the site.

I’ve tried to troubleshoot this a few times - thinking it may be a mod_security problem, or perhaps just a weird 2.5.1 bug.

Another commenter had his comment eaten tonight, so I went through another round of searching, and eventually discovered this thread on the Wordpress forums.

The answer, he is right down the bottom there: “… a plugin designed to remove the rel=”nofollow” attribute”. A.K.A. Dofollow.

So it seems that Dofollow with WP2.5 breaks things, and causes comments to disappear. Very unfortunate.

Lightroom and Flickr Integration: Lightroom Export Plugin for Flickr

By jaymis

We haven’t revisited our love for Adobe’s Lightroom for quite a while, but that doesn’t mean that love has diminished. Any photos we’ve taken for CDMo have likely passed through Lightroom’s gentle caress. Flickr, likewise, is indispensable. We use it for hosting larger images associated with CDM stories, and the Flickr pools for both CDMotion and -Music is a great way to keep up on what’s happening in the respective communities.

So a way to get your images from Lightroom to Flickr as quickly as possible is a Good Thing, right? Right! Jeffrey Freidl’s “Lightroom Export Plugin for Flickr” works cross-platform, has all of the right settings available (including adding photos to Sets, or making a new Set), and integrates cleanly so all of your titles, tags and descriptions make it through intact.

And it’s super quick, so there’s one less barrier between the act of creation and the act of sharing it with the world.