base implementation of guava cache