Fix cache configuration to work on jetty