This is something I hadn't thought of until the current egg sticker shock. I buy my eggs from a local small farm. I'm still paying more than grocery store prices but my price hasn't changed. Meanwhile the local grocery store has increased by a large percentage. To the point where they're almost the same price.
We realized a similar thing during Covid, when my parents couldn’t find milk on the shelves and we had farmers a few miles away from us dumping it down the drain.
Buying local has an outsize influence for the small increase in price.