print header(-type => 'image/jpeg', -Content_length => length $file, -expires => '+30d', ), $file;