document about optimization and slug