Auhor: Svyat Podmogayev ([email protected]) with the support of Dmitry Kurinskiy.
The plugin depends on cache:1.0.1 plugin and implements an adapter to memcached
cache for Grails caching infrastructure.
Take a look on a base cache
plugin to find out its usage. cache-memcached
plugin only adapts memcached to back the cache.
memcached {
// If you need to switch off the plugin -- optional
enabled = false
// Memcached server properties -- optional
settings {
serverHost = "localhost"
serverPort = 11211
}
// The only property supported is timeToLive (seconds)
// Make individual TTL settings for different caches.
caches {
userProfiles {
timeToLive = 7200
}
taxonomy {
timeToLive = 0
}
stream {
timeToLive = 0
}
}
}