Recent work on the revised Gratton-Vargas model (S K H Auluck, Physics of Plasmas, 20, 112501 (2013); 22, 112509 (2015) and references therein) has demonstrated that there are some aspects of Dense Plasma Focus (DPF) which are not sensitive to details of plasma dynamics and are well captured in an oversimplified model assumption which contains very little plasma physics. A hyperbolic conservation law formulation of DPF physics reveals the existence of a velocity threshold related to specific energy of dissociation and ionization, above which, the work done during shock propagation is adequate to ensure dissociation and ionization of the gas being ingested. These developments are utilized to formulate an algorithmic definition of DPF optimization that is valid in a wide range of applications, not limited to neutron emission. This involves determination of a set of DPF parameters, without performing iterative model calculations, that lead to transfer of all the energy from the capacitor bank to the plasma at the time of current derivative singularity and conversion of a preset fraction of this energy into magnetic energy, while ensuring that electromagnetic work done during propagation of the plasma remains adequate for dissociation and ionization of neutral gas being ingested. Such universal optimization criterion is expected to facilitate progress in new areas of DPF research that include production of short lived radioisotopes of possible use in medical diagnostics, generation of fusion energy from aneutronic fuels and applications in nanotechnology, radiation biology and materials science. These phenomena are expected to be optimized for fill gases of different kinds and in different ranges of mass density than the devices constructed for neutron production using empirical thumb rules. A universal scaling theory of DPF design optimization is proposed and illustrated for designing devices working at one or two orders higher pressure of deuterium than the current practice of designs optimized at pressures less than 10 mbar of deuterium. These examples show that the upper limit for operating pressure is of technological (and not physical) origin.