[Koha-patches] [PATCH] bug 3436: add patron images to web self-check

Joe Atzberger joe.atzberger at liblime.com
Thu Jul 23 23:06:09 CEST 2009


On Wed, Jul 22, 2009 at 5:43 PM, Galen Charlton
<galen.charlton at liblime.com>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20090723/ea5ca316/attachment-0002.htm>


More information about the Koha-patches mailing list