Skip to content

Instantly share code, notes, and snippets.

@mere-teresa
Created July 27, 2015 14:43
Show Gist options
  • Save mere-teresa/0f9279a8fce1cf8c6ccd to your computer and use it in GitHub Desktop.
Save mere-teresa/0f9279a8fce1cf8c6ccd to your computer and use it in GitHub Desktop.
ezpublish:
repositories:
demo_repository:
engine: legacy
connection: default
siteaccess:
# Available siteaccesses
list:
- demo_site
# Siteaccess groups. Use them to group common settings.
groups:
demo_site_group: [demo_site]
default_siteaccess: demo_site
match:
URIElement: 1
imagemagick:
enabled: false
# System settings, grouped by siteaccess and/or siteaccess group
system:
demo_site_group:
repository: demo_repository
var_dir: var/ezdemo_site
languages:
- eng-GB
session:
name: eZSESSID
default:
content:
view_cache: true
ttl_cache: true
# TTL cache (http) in seconds
# Note that Http cache for a given content is always invalidated when publishing that content
default_ttl: 300
# Stash is used for persistence cache
stash:
caches:
default:
drivers:
# When using multiple webservers, you must use Memcache or Redis
- FileSystem
inMemory: true
registerDoctrineAdapter: false
# On Windows, using FileSystem, to avoid hitting filesystem limitations
# you need to change the keyHashFunction used to generate cache directories to "crc32"
# FileSystem
# keyHashFunction: crc32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment