be90542872
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> |
||
---|---|---|
.. | ||
apache-shared-disable.conf | ||
apache-shared-intranet.conf | ||
apache-shared-opac.conf | ||
apache-shared.conf | ||
apache-site.conf.in | ||
koha-conf-site.xml.in | ||
marc21-retrieval-info-auth-dom.xml | ||
marc21-retrieval-info-auth-grs1.xml | ||
marc21-retrieval-info-bib-dom.xml | ||
marc21-retrieval-info-bib-grs1.xml | ||
normarc-retrieval-info-auth-dom.xml | ||
normarc-retrieval-info-auth-grs1.xml | ||
normarc-retrieval-info-bib-dom.xml | ||
normarc-retrieval-info-bib-grs1.xml | ||
SIPconfig.xml | ||
unimarc-retrieval-info-auth-dom.xml | ||
unimarc-retrieval-info-auth-grs1.xml | ||
unimarc-retrieval-info-bib-dom.xml | ||
unimarc-retrieval-info-bib-grs1.xml | ||
zebra-authorities-dom-site.cfg.in | ||
zebra-authorities-site.cfg.in | ||
zebra-biblios-dom-site.cfg.in | ||
zebra-biblios-site.cfg.in | ||
zebra.passwd.in |