Persistent Sessions: The L2 Session Data Cache

If your chosen persistence technology is slow, it can be helpful to locally cache the session data.
The CachingSessionDataStore is a special type of SessionDataStore that locally caches session data, which makes reads faster. It writes-through to your chosen type of SessionDataStore when session data changes.

MemcachedSessionDataMap

The MemcachedSessionDataMap uses memcached to perform caching.

To enable it with the Jetty distribution, enable the session-store-cachemodule, along with your chosen session-store-xxxx module, and optionally the session-cache-hash or session-cache-null modules.

After enabling, the $jetty.base/start.d/session-store-cache.ini file will be generated: