https://books.google.com/ngrams/graph?content=cafe%2Ccaffe%2...
Though the pre-1820 popularity of "cafe" is an interesting story itself I'll leave to the enterprising reader:
https://books.google.com/ngrams/graph?content=cafe&year_star...