NOTE: Originally compiled at the Developer Hack-a-way, November 2015
Operation System Considerations
Hardware Considerations:
Application-level
PostgreSQL
Tools
There are a number of steps you can follow to optimize your Apache server.
a2enmod deflate # on Debian or Ubuntu
<IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/css application/javascript </IfModule>
ExpiresActive On # Set default expiry time to one month - we could probably make this 6 months ExpiresDefault "access plus 1 month" ExpiresByType text/html "access plus 25 hours" ExpiresByType application/xhtml+xml "access plus 25 hours"
<LocationMatch /opac/> ... other stuff, snipped SetEnvIf Request_URI ".*" OILS_OPAC_BASE=/opac/ # This gives you the option to configure a different host to serve OPAC images from # Specify the hostname (withouth protocol) and path to the images. Protocol will # be determined at runtime SetEnvIf Request_URI ".*" OILS_OPAC_IMAGES_HOST=images.example.org/opac/ SetEnvIf Request_URI ".*" OILS_OPAC_CSS_HOST=css.example.org/opac/ SetEnvIf Request_URI ".*" OILS_OPAC_JS_HOST=js.example.org/opac/ </LocationMatch>