Koha/debian/templates
Robin Sheat be90542872 Bug 10411: add cache control headers for static resources (Debian package)
This adds caching directives to the static resources so that the browser
doesn't ask about them all the time.

By default, Debian apache doesn't have the required module (mod_expires)
enabled, and so this patch will have no effect. In order to enable this
function, run:

a2enmod expires

and restart apache.

Test Plan:
* Using firebug or equivalent, load a page.
* Note that none of the images, css, or js files have a Cache-Control or
  Expires header set.
* Add this patch, redeploy the package with it (or overwrite the
  apache-share.conf file) enable the 'expires' module, restart apache.
* Force-reload the page
* Note that the images, css, js now have Cache-Control and Expires set
  for 12 hours into the future.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-07-18 13:50:56 +00:00
..
apache-shared-disable.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-shared-intranet.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-shared-opac.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-shared.conf Bug 10411: add cache control headers for static resources (Debian package) 2013-07-18 13:50:56 +00:00
apache-site.conf.in Bug 7885 - Change filename of TransferLog suggested by packages to fit with logrotate 2012-04-04 15:15:43 +02:00
koha-conf-site.xml.in Bug 7804 - Add Koha Plugin System 2013-03-20 14:49:47 -04:00
marc21-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-bib-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-bib-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
SIPconfig.xml Bug 7238 - make packages deal with SIP config 2012-02-15 17:23:08 +01:00
unimarc-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-bib-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
zebra-authorities-dom-site.cfg.in Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create 2011-07-28 14:17:10 +12:00
zebra-authorities-site.cfg.in Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create 2011-07-28 14:17:10 +12:00
zebra-biblios-dom-site.cfg.in Bug 7818 : Following, fixing so the packages build Still need to update koha-create to make use of the new file 2012-07-06 11:17:19 +02:00
zebra-biblios-site.cfg.in Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create 2011-07-28 14:17:10 +12:00
zebra.passwd.in Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00