Skip to content

Instantly share code, notes, and snippets.

@lawlesst
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lawlesst/8690817 to your computer and use it in GitHub Desktop.
Save lawlesst/8690817 to your computer and use it in GitHub Desktop.
mod_cache.conf config for VIVO caching on Redhat
#
#The default expire needs to be 0 in a self-editing environment so that E-Tags can be reverified.
#Requests to cached URLs that haven't expired will never reach the VIVO web application.
#
<IfModule mod_cache.c>
CacheRoot /var/cache/apache2
CacheEnable disk /display
CacheEnable disk /individual
CacheIgnoreNoLastMod On
CacheDefaultExpire 0
CacheMaxExpire 0
CacheIgnoreHeaders Set-Cookie
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment