If you have a polyline or polygon hosted feature service in ArcGIS Online, there is an option under the Settings tab to Optimize Layer Drawing, which "increases the drawing speed of line and polygon layers with detailed geometry (e.g., many vertices) but also uses additional storage space to do so."
Does anyone know if there is a Python API way to run this process on feature services? It would be a very beneficial thing to do via scripting.