I believe you meant to serialized s not t in that case, otherwise your cache key will always be "string", please check.