Hello users,
Please take a look at those to matches:
<map:match pattern="b/*.jpg">
<map:read type="dbreader" src="{1}" mime-type="image/jpeg">
<map:parameter name="table" value="images" />
<map:parameter name="last-modified" value="img_timestamp"/>
<map:parameter name="image" value="img_data" />
<map:parameter name="key" value="id" />
<map:parameter name="expires" value="86400"/>
</map:read>
</map:match>
<map:match type="regexp" pattern="idb/(\d*).jpg">
<map:read type="image" src="cocoon:/db/{1}.jpg" mime-type="image/jpeg">
<map:parameter name="width" value="100" />
</map:read>
</map:match>
On Cocoon 2.1.6dev last-modified http header exists if I call
"db/..", but when I request "idb/.." last-modified(and expires also) is discarded by
ImageReader/ResourceReader. On 2.1.5.1 there is no problem with
this, both headers are present.
How to fix it?
Thanks for any help.
--
Best regards,
Grzegorz mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]