There is an option called OPTIMIZE LAYER DRAWING under SETTINGS of an hosted line feature layer. It's annoying to check back that option everything that we overwrite the layer. It would be good to have 3 things:
1. Even if we are overwriting the layer, keep that option checked if possible
2. From ArcGIS Pro, add that option under CONFIGURATION
3. Add a way to update that info using the ArcGIS API for Python