Fix periodic cache builder