A simple in-memory cache for session storage
- Your container or environment has an env variable called
FC_SESSION_CACHE_USERNAMEandFC_SESSION_CACHE_PASSWORDexposed - The cache will expose an API to interact with the cache
- Make requests to each endpoint with the format http://username:password@url-to-cache/endpoint
The cache exposes these API endpoints:
- Get: the Get endpoint takes a
cookiefield in the body and returns the corresponding session - Put: the Put endpoint takes a
cookiefield and asessionobject and pushes it to the cache - Remove: the Remove endpoint takes a
cookiefield in the body and removes the corresponding session - Flush: the Flush endpoint removes all sessions from the cache
The cache is also provided as a docker container: