0

Firebase docs has a page on how to pair functions with hosting. In my use case, all my functions generate dynamic content so I will no be making use of cacheing on the CDN. I was wondering if there are any other reason why it may be advisable to pair functions with hosting?

Oliver
  • 3
  • 1

1 Answers1

0

The most common reason to do this would be to get a custom host/domain name for your function endpoint. Many don't care for the generated name that you get for free.

See: Use custom domain for Google Cloud Function

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441