Its not necessarily a matter of knowing your players, but rather, knowing their characters -- know what they're capable of, what spells, feats, skills they have on hand, and tailor encounters towards those ends. If the mage can cast fireball (the "Lina Inverse solution") or burning hands, or if...