If roentgen rays can't penetrate it, we know it's solid.
Roentgen and Schneider realised circa 1880 measurements of compressibility for NaCl and KCl.