How to disable optimize when starting kibana

How to disable optimize when starting kibana,because every time when I start kibana, I will wait for a long time.Thanks

optimize happens only the first you run a new version, no?

Anyway I moved your question to #kibana

I want to ask a question, can I separate the discovery function into a plugin?

Thank you,I hope my question can be answered as soon as possible.