http://www.perlmonks.org?node_id=647458


in reply to Duplicate Randoms with SSI

Crazy idea: Make an image server daemon and make your SSI calls to a light-weight client that just requests an image from the daemon. The daemon would keep track of the last 5 (for instance) images that it just served and know not to serve them again.