ensure /cache is formatted