some refactoring, tags cache now expires