As far as I know, building nests will yield you the best resource to EXP ratio (0.0833 EXP per resource). Plus, once you have the nests built, they give EVEN BETTER ratios when you upgrade them (0.1111 EXP per resource). Out of my own convenience, I usually just upgrade my nests all the way to level 3 but this is of course up to you, whatever suits your playing style. You could keep buying and discarding level 1 nests if you feel that’s more comfortable for you, or you could just upgrade them to level 2 before discarding them as well.
Unless you’re really lazy and choose to waste resources, purchasing and upgrading barracks is probably the fastest way to get rid of your resources, but keep in mind, this isn’t the best way to spend your resources!