spray.caching
Creates a new spray.caching.ExpiringLruCache or spray.caching.SimpleLruCache instance depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.