in reply to (webappdev) database centralization ease + client-side file caching?

You don't need a handler to do what you want. Use the path_info method from CGI.

Write a CGI script img (or whatever) whose sole purpose is to feed user images. e.g:

#!/usr/bin/perl -w use strict; use CGI; my $q = new CGI; my ($user) = split m!/!, $q->path_info(); # database connection stuff here ... # fetch $pic from database for $user pint $q->header("image/jpeg"), $pic;
... or something like that. And then have an image tag like <img src="/cgi-bin/img/bobo/whatever.jpg">

ar0n ]