+
+ my $event = $apr->param('event');
+ $dbh->do('UPDATE last_picture_cache SET last_update=CURRENT_TIMESTAMP WHERE vhost=? AND event=?', undef, $r->get_server_name, $event)
+ or dberror($r, "Cache invalidation failed");
+
+ push @to_purge, "/$event/";
+ push @to_purge, "/+all/";
+ Sesse::pr0n::Common::purge_cache($r, @to_purge);