ill never buy caged eggs as long as i live, but just always remember to check the fine print. Some claim to be free range but are "barn laid". Or they are a spin off type like pace farm who claim to have a free range option which isn't always true free range.
Best ones to buy are local or independent small farms who have the free range cruelty free logo's and say so in the small print.
Supermarkets will never, ever give a toss about animal cruelty they just operate purely on demand. The ONLY way to get rid of caged eggs, is not to buy them.