Fix publish api, fix tags extraction, fix cache