On Wed, Jul 22, 2009 at 5:43 PM, Galen Charlton
<[email protected]>wrote:

> +if ($imagedata) {
> +    print $query->header(-type => $imagedata->{'mimetype'},
> +                         -'Cache-Control' => 'no-store',
> +                         -Content_Length => length
> ($imagedata->{'imagefile'})),
> +          $imagedata->{'imagefile'};
> +} else {
> +    print $query->header(status => '404 patron image not found');
> +}
>
>
It seems that an image file would be exactly the kind of thing worth caching
for performance reasons.  Is the motivation to not cache based on privacy
concerns?

-- 
Joe Atzberger
LibLime - Open Source Library Solutions
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to