In most towns and cities, grocery store should be within walkable distance to allow people to get what they need for the next day or two, removing the necessity for large pantries or food storage rooms. Also getting benefits of eating healthier and fresher.
Also this, yeah, as farming scales and technology enables farmers to be able to manage larger and larger swathes of land with less and less labor involved, more and more people congregate in central hubs, major cities, etc, which means more and more people are within walking distance of all the needs.