Hi, On Wed, Sep 16, 2009 at 9:35 AM, Kyle Hall <[email protected]> wrote: > Does anyone have a better idea for storing the cached images? > LibraryThing limits the number of images you can access per day, and > recommends caching them. As it stands, they are stored in > KOHA_ROOL/koha-tmpl/intranet-tmpl
A few ideas come to mind. [1] Continue to use a directory on disk. However, rather than sticking it in the template directory, we should define a new static_web_cache directory (or two, one for OPAC and one for intranet) whose default location is outside the standard template tree and whose value is set in koha-conf.xml. That way, we don't reduce the risk of a Koha sysadmin accidentally making the whole of koha-tmpl read/write by the Apache user. [2] Use memcached. This would require adding a small web service to fetch and serve images from memcached. General note: I'm going to use my discretion to let the LT covers support into 3.2 even though this was submitted after feature freeze, on the basis that patches adding support for enhanced content are (a) generally small and nondisruptive and (b) additional enhanced content support is worth adding onto the development head and the maintenance version as soon as it becomes available. Regards, Galen -- Galen Charlton [email protected] _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
