Make encoded cache key