<?xml version="1.0" encoding="windows-1252"?>
<node id="188571" title="Re: Re: Caching images from RDBMS" created="2002-08-08 08:25:23" updated="2005-06-10 16:22:58">
<type id="11">
note</type>
<author id="114167">
giulienk</author>
<data>
<field name="doctext">
Thank you so much for the simplest, fastest and works like a charm solution ;)&lt;p&gt;Here's the modified line that makes the trick:
&lt;code&gt;
print header(-type           =&gt; 'image/jpeg',
             -Content_length =&gt; length $file,
             -expires        =&gt; '+30d',
             ), $file;

&lt;/code&gt;
&lt;P&gt;&lt;BR&gt;&lt;TT&gt;$|=$_="1g2i1u1l2i4e2n0k",map{print"\7",chop;select$,,$,,$,,$_/7}m{..}g&lt;/TT&gt;</field>
<field name="root_node">
188542</field>
<field name="parent_node">
188566</field>
</data>
</node>
