Storing sessions in Memcache¶
You can configure storing sessions in Memcache, preferably using stash. This way you don't mix session stash cache with other stash caches, such as SPI, translation, and navigation.
You can also configure a cache server for the failover session.
Step 1. Configure Memcache servers¶
Add a new stash service to stash configuration in ezpublish_env.yml
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
Step 2. Configure session handler¶
Configure the session handler in config_env.yml
:
1 2 |
|