Fix cache in graphite-api