Realization of all-optically controlled and efficient DNA compaction is the major motivation in the study of interactions between DNA and photosensitive surfactants. In this article, using recently published approach of phase diagram construction [Y. Zakrevskyy, P. Cywinski, M. Cywinska, J. Paasche, N. Lomadze, O. Reich, H.-G. Löhmannsroben, and S. Santer, J. Chem. Phys. 140, 044907 (2014)], a strategy for substantial reduction of compaction agent concentration and simultaneous maintaining the light-induced decompaction efficiency is proposed. The role of ionic strength (NaCl concentration), as a very important environmental parameter, and surfactant structure (spacer length) on the changes of positions of phase transitions is investigated. Increase of ionic strength leads to increase of the surfactant concentration needed to compact DNA molecule. However, elongation of the spacer results to substantial reduction of this concentration. DNA compaction by surfactants with longer tails starts to take place in diluted solutions at charge ratios Z < 1 and is driven by azobenzene-aggregation compaction mechanism, which is responsible for efficient decompaction. Comparison of phase diagrams for different DNA-photosensitive surfactant systems allowed explanation and proposal of a strategy to overcome previously reported limitations of the light-induced decompaction for complexes with increasing surfactant hydrophobicity.