Welsh cuisine butter was the primary cooking medium and basis for sauces. Salt was an important ingredient in Welsh butter, but also in early Welsh cheeses, which would sit in brine during the cheesemaking process. The Welsh were also early adopters of roasting cheese. An early incarnation of Welsh rarebit was being made in medieval times, and by the middle of the 15th century rarebit was considered a national dish. The acid soil of Wales meant that the milk produced by their cattle created a soft cheese, which was not as good for roasting, so Welsh people would trade for harder cheeses
Dream of the Rarebit Fiend McCay signed a contract to collaborate on it with music by Max Hirschfeld and lyrics by George Henry Payne and Robert Gilbert Welch. Film pioneer Edwin S. Porter produced a seven-minute live-action film adaptation called "The Dream of a Rarebit Fiend" in 1906 for the Edison Company. The Fiend was played by John P. Brawn, who is tormented by imps in his bed, which flies through the air and leaves him hanging from a steeple—a scene similar to that of an early strips that ran on January 28, 1905. McCay produced four hand-drawn animated films based upon his "Rarebit Fiend"